/*! For license information please see main.91d165cd.js.LICENSE.txt */
(()=>{"use strict";var e={730:(e,t,n)=>{var r=n(43),a=n(853);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,i={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(i[e]=t,e=0;e<t.length;e++)o.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,l,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=v.hasOwnProperty(t)?v[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),N=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=O&&e[O]||e["@@iterator"])?e:null}var D,F=Object.assign;function I(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var U=!1;function A(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var a=s.stack.split("\n"),l=r.stack.split("\n"),o=a.length-1,i=l.length-1;1<=o&&0<=i&&a[o]!==l[i];)i--;for(;1<=o&&0<=i;o--,i--)if(a[o]!==l[i]){if(1!==o||1!==i)do{if(o--,0>--i||a[o]!==l[i]){var u="\n"+a[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=o&&0<=i);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?I(e):""}function V(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return e=A(e.type,!1);case 11:return e=A(e.type.render,!1);case 1:return e=A(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case k:return"Portal";case C:return"Profiler";case S:return"StrictMode";case j:return"Suspense";case P:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case M:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,l.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Z(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){G(e,t);var n=$(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+$(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(l(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(l(92));if(te(n)){if(1<n.length)throw Error(l(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:$(n)}}function le(e,t){var n=$(t.value),r=$(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(l(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(l(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(l(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,_e=null,Se=null;function Ce(e){if(e=ba(e)){if("function"!==typeof ke)throw Error(l(280));var t=e.stateNode;t&&(t=xa(t),ke(e.stateNode,e.type,t))}}function Ee(e){_e?Se?Se.push(e):Se=[e]:_e=e}function Ne(){if(_e){var e=_e,t=Se;if(Se=_e=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Le(e,t){return e(t)}function je(){}var Pe=!1;function Me(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Le(e,t,n)}finally{Pe=!1,(null!==_e||null!==Se)&&(je(),Ne())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=xa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(l(231,t,typeof n));return n}var ze=!1;if(c)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ce){ze=!1}function Re(e,t,n,r,a,l,o,i,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var De=!1,Fe=null,Ie=!1,Ue=null,Ae={onError:function(e){De=!0,Fe=e}};function Ve(e,t,n,r,a,l,o,i,u){De=!1,Fe=null,Re.apply(Ae,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Be(e)!==e)throw Error(l(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return $e(a),e;if(o===r)return $e(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,u=a.child;u;){if(u===n){i=!0,n=a,r=o;break}if(u===r){i=!0,r=a,n=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===n){i=!0,n=o,r=a;break}if(u===r){i=!0,r=o,n=a;break}u=u.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(e))?Qe(e):null}function Qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Qe(e);if(null!==t)return t;e=e.sibling}return null}var Ze=a.unstable_scheduleCallback,Ke=a.unstable_cancelCallback,qe=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ge=a.unstable_now,Je=a.unstable_getCurrentPriorityLevel,Xe=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,lt=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(it(e)/ut|0)|0},it=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,l=e.pingedLanes,o=268435455&n;if(0!==o){var i=o&~a;0!==i?r=ft(i):0!==(l&=o)&&(r=ft(l))}else 0!==(o=n&~a)?r=ft(o):0!==l&&(r=ft(l));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(l=t&-t)||16===a&&0!==(4194240&l)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-ot(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,kt,_t,St,Ct,Et=!1,Nt=[],Lt=null,jt=null,Pt=null,Mt=new Map,Tt=new Map,zt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Lt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Mt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Dt(e,t,n,r,a,l){return null===e||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ya(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(e.priority,(function(){_t(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ut(e,t,n){It(e)&&n.delete(t)}function At(){Et=!1,null!==Lt&&It(Lt)&&(Lt=null),null!==jt&&It(jt)&&(jt=null),null!==Pt&&It(Pt)&&(Pt=null),Mt.forEach(Ut),Tt.forEach(Ut)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,At)))}function Bt(e){function t(t){return Vt(t,e)}if(0<Nt.length){Vt(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Lt&&Vt(Lt,e),null!==jt&&Vt(jt,e),null!==Pt&&Vt(Pt,e),Mt.forEach(t),Tt.forEach(t),n=0;n<zt.length;n++)(r=zt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&null===(n=zt[0]).blockedOn;)Ft(n),null===n.blockedOn&&zt.shift()}var Ht=w.ReactCurrentBatchConfig,$t=!0;function Wt(e,t,n,r){var a=bt,l=Ht.transition;Ht.transition=null;try{bt=1,Zt(e,t,n,r)}finally{bt=a,Ht.transition=l}}function Qt(e,t,n,r){var a=bt,l=Ht.transition;Ht.transition=null;try{bt=4,Zt(e,t,n,r)}finally{bt=a,Ht.transition=l}}function Zt(e,t,n,r){if($t){var a=qt(e,t,n,r);if(null===a)$r(e,t,r,Kt,n),Rt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Lt=Dt(Lt,e,t,n,r,a),!0;case"dragenter":return jt=Dt(jt,e,t,n,r,a),!0;case"mouseover":return Pt=Dt(Pt,e,t,n,r,a),!0;case"pointerover":var l=a.pointerId;return Mt.set(l,Dt(Mt.get(l)||null,e,t,n,r,a)),!0;case"gotpointercapture":return l=a.pointerId,Tt.set(l,Dt(Tt.get(l)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var l=ba(a);if(null!==l&&xt(l),null===(l=qt(e,t,n,r))&&$r(e,t,r,Kt,n),l===a)break;a=l}null!==a&&r.stopPropagation()}else $r(e,t,r,null,n)}}var Kt=null;function qt(e,t,n,r){if(Kt=null,null!==(e=ya(e=xe(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Jt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Jt,r=n.length,a="value"in Gt?Gt.value:Gt.textContent,l=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[l-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,l){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var ln,on,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),fn=F({},sn,{view:0,detail:0}),dn=an(fn),pn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,on=e.screenY-un.screenY):on=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:on}}),hn=an(pn),mn=an(F({},pn,{dataTransfer:0})),vn=an(F({},fn,{relatedTarget:0})),gn=an(F({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=F({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),wn=an(F({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Cn(){return Sn}var En=F({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=an(En),Ln=an(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=an(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Pn=an(F({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mn=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tn=an(Mn),zn=[9,13,27,32],On=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var Dn=c&&"TextEvent"in window&&!Rn,Fn=c&&(!On||Rn&&8<Rn&&11>=Rn),In=String.fromCharCode(32),Un=!1;function An(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ee(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Zn=null;function Kn(e){Ir(e,0)}function qn(e){if(Z(wa(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(c){var Jn;if(c){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"===typeof er.oninput}Jn=Xn}else Jn=!1;Gn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){Qn&&(Qn.detachEvent("onpropertychange",nr),Zn=Qn=null)}function nr(e){if("value"===e.propertyName&&qn(Zn)){var t=[];Wn(t,Zn,e,xe(e)),Me(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Zn=n,(Qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Zn)}function lr(e,t){if("click"===e)return qn(t)}function or(e,t){if("input"===e||"change"===e)return qn(t)}var ir="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(ir(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!f.call(t,a)||!ir(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,l=Math.min(r.start,a);r=void 0===r.end?l:Math.min(r.end,a),!e.extend&&l>r&&(a=r,r=l,l=a),a=cr(n,l);var o=cr(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==K(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Qr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},_r={},Sr={};function Cr(e){if(_r[e])return _r[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return _r[e]=n[t];return e}c&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Er=Cr("animationend"),Nr=Cr("animationiteration"),Lr=Cr("animationstart"),jr=Cr("transitionend"),Pr=new Map,Mr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Tr(e,t){Pr.set(e,t),u(t,[e])}for(var zr=0;zr<Mr.length;zr++){var Or=Mr[zr];Tr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Tr(Er,"onAnimationEnd"),Tr(Nr,"onAnimationIteration"),Tr(Lr,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(jr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,i,u,s){if(Ve.apply(this,arguments),De){if(!De)throw Error(l(198));var c=Fe;De=!1,Fe=null,Ie||(Ie=!0,Ue=c)}}(r,t,void 0,e),e.currentTarget=null}function Ir(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var o=r.length-1;0<=o;o--){var i=r[o],u=i.instance,s=i.currentTarget;if(i=i.listener,u!==l&&a.isPropagationStopped())break e;Fr(a,i,s),l=u}else for(o=0;o<r.length;o++){if(u=(i=r[o]).instance,s=i.currentTarget,i=i.listener,u!==l&&a.isPropagationStopped())break e;Fr(a,i,s),l=u}}}if(Ie)throw e=Ue,Ie=!1,Ue=null,e}function Ur(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Ar(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Vr]){e[Vr]=!0,o.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Ar(t,!1,e),Ar(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Ar("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Yt(t)){case 1:var a=Wt;break;case 4:a=Qt;break;default:a=Zt}n=a.bind(null,t,n,e),a=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function $r(e,t,n,r,a){var l=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;o=o.return}for(;null!==i;){if(null===(o=ya(i)))return;if(5===(u=o.tag)||6===u){r=l=o;continue e}i=i.parentNode}}r=r.return}Me((function(){var r=l,a=xe(n),o=[];e:{var i=Pr.get(e);if(void 0!==i){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Nn;break;case"focusin":s="focus",u=vn;break;case"focusout":s="blur",u=vn;break;case"beforeblur":case"afterblur":u=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=jn;break;case Er:case Nr:case Lr:u=gn;break;case jr:u=Pn;break;case"scroll":u=dn;break;case"wheel":u=Tn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ln}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==i?i+"Capture":null:i;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Te(h,d))&&c.push(Wr(h,m,p)))),f)break;h=h.return}0<c.length&&(i=new u(i,s,null,n,a),o.push({event:i,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!ya(s)&&!s[ha])&&(u||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ya(s):null)&&(s!==(f=Be(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=hn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ln,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?i:wa(u),p=null==s?i:wa(s),(i=new c(m,h+"leave",u,n,a)).target=f,i.relatedTarget=p,m=null,ya(a)===r&&((c=new c(d,h+"enter",s,n,a)).target=p,c.relatedTarget=f,m=c),f=m,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Zr(p))h++;for(p=0,m=d;m;m=Zr(m))p++;for(;0<h-p;)c=Zr(c),h--;for(;0<p-h;)d=Zr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Zr(c),d=Zr(d)}c=null}else c=null;null!==u&&Kr(o,i,u,c,!1),null!==s&&null!==f&&Kr(o,f,s,c,!0)}if("select"===(u=(i=r?wa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var v=Yn;else if($n(i))if(Gn)v=or;else{v=ar;var g=rr}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(v=lr);switch(v&&(v=v(e,r))?Wn(o,v,n,a):(g&&g(e,i,r),"focusout"===e&&(g=i._wrapperState)&&g.controlled&&"number"===i.type&&ee(i,"number",i.value)),g=r?wa(r):window,e){case"focusin":($n(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(o,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(o,n,a)}var y;if(On)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?An(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Jt="value"in(Gt=a)?Gt.value:Gt.textContent,Bn=!0)),0<(g=Qr(r,b)).length&&(b=new wn(b,e,null,n,a),o.push({event:b,listeners:g}),y?b.data=y:null!==(y=Vn(n))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Un=!0,In);case"textInput":return(e=t.data)===In&&Un?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!On&&An(e,t)?(e=en(),Xt=Jt=Gt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Qr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=y))}Ir(o,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,l=a.stateNode;5===a.tag&&null!==l&&(a=l,null!=(l=Te(e,n))&&r.unshift(Wr(e,l,a)),null!=(l=Te(e,t))&&r.push(Wr(e,l,a))),e=e.return}return r}function Zr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,a){for(var l=t._reactName,o=[];null!==n&&n!==r;){var i=n,u=i.alternate,s=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==s&&(i=s,a?null!=(u=Te(n,l))&&o.unshift(Wr(n,u,i)):a||null!=(u=Te(n,l))&&o.push(Wr(n,u,i))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"===typeof e?e:""+e).replace(qr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(l(425))}function Xr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,la="function"===typeof Promise?Promise:void 0,oa="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof la?function(e){return la.resolve(null).then(e).catch(ia)}:ra;function ia(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Bt(t)}function sa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,pa="__reactProps$"+fa,ha="__reactContainer$"+fa,ma="__reactEvents$"+fa,va="__reactListeners$"+fa,ga="__reactHandles$"+fa;function ya(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[da])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[da]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function xa(e){return e[pa]||null}var ka=[],_a=-1;function Sa(e){return{current:e}}function Ca(e){0>_a||(e.current=ka[_a],ka[_a]=null,_a--)}function Ea(e,t){_a++,ka[_a]=e.current,e.current=t}var Na={},La=Sa(Na),ja=Sa(!1),Pa=Na;function Ma(e,t){var n=e.type.contextTypes;if(!n)return Na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,l={};for(a in n)l[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ta(e){return null!==(e=e.childContextTypes)&&void 0!==e}function za(){Ca(ja),Ca(La)}function Oa(e,t,n){if(La.current!==Na)throw Error(l(168));Ea(La,t),Ea(ja,n)}function Ra(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(l(108,H(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Na,Pa=La.current,Ea(La,e),Ea(ja,ja.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=Ra(e,t,Pa),r.__reactInternalMemoizedMergedChildContext=e,Ca(ja),Ca(La),Ea(La,e)):Ca(ja),Ea(ja,n)}var Ia=null,Ua=!1,Aa=!1;function Va(e){null===Ia?Ia=[e]:Ia.push(e)}function Ba(){if(!Aa&&null!==Ia){Aa=!0;var e=0,t=bt;try{var n=Ia;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ia=null,Ua=!1}catch(a){throw null!==Ia&&(Ia=Ia.slice(e+1)),Ze(Xe,Ba),a}finally{bt=t,Aa=!1}}return null}var Ha=[],$a=0,Wa=null,Qa=0,Za=[],Ka=0,qa=null,Ya=1,Ga="";function Ja(e,t){Ha[$a++]=Qa,Ha[$a++]=Wa,Wa=e,Qa=t}function Xa(e,t,n){Za[Ka++]=Ya,Za[Ka++]=Ga,Za[Ka++]=qa,qa=e;var r=Ya;e=Ga;var a=32-ot(r)-1;r&=~(1<<a),n+=1;var l=32-ot(t)+a;if(30<l){var o=a-a%5;l=(r&(1<<o)-1).toString(32),r>>=o,a-=o,Ya=1<<32-ot(t)+a|n<<a|r,Ga=l+e}else Ya=1<<l|n<<a|r,Ga=e}function el(e){null!==e.return&&(Ja(e,1),Xa(e,1,0))}function tl(e){for(;e===Wa;)Wa=Ha[--$a],Ha[$a]=null,Qa=Ha[--$a],Ha[$a]=null;for(;e===qa;)qa=Za[--Ka],Za[Ka]=null,Ga=Za[--Ka],Za[Ka]=null,Ya=Za[--Ka],Za[Ka]=null}var nl=null,rl=null,al=!1,ll=null;function ol(e,t){var n=Ms(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function il(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,nl=e,rl=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,nl=e,rl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qa?{id:Ya,overflow:Ga}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ms(18,null,null,0)).stateNode=t,n.return=e,e.child=n,nl=e,rl=null,!0);default:return!1}}function ul(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function sl(e){if(al){var t=rl;if(t){var n=t;if(!il(e,t)){if(ul(e))throw Error(l(418));t=sa(n.nextSibling);var r=nl;t&&il(e,t)?ol(r,n):(e.flags=-4097&e.flags|2,al=!1,nl=e)}}else{if(ul(e))throw Error(l(418));e.flags=-4097&e.flags|2,al=!1,nl=e}}}function cl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;nl=e}function fl(e){if(e!==nl)return!1;if(!al)return cl(e),al=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=rl)){if(ul(e))throw dl(),Error(l(418));for(;t;)ol(e,t),t=sa(t.nextSibling)}if(cl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){rl=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}rl=null}}else rl=nl?sa(e.stateNode.nextSibling):null;return!0}function dl(){for(var e=rl;e;)e=sa(e.nextSibling)}function pl(){rl=nl=null,al=!1}function hl(e){null===ll?ll=[e]:ll.push(e)}var ml=w.ReactCurrentBatchConfig;function vl(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(l(309));var r=n.stateNode}if(!r)throw Error(l(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function gl(e,t){throw e=Object.prototype.toString.call(t),Error(l(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yl(e){return(0,e._init)(e._payload)}function bl(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=zs(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var l=n.type;return l===_?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===l||"object"===typeof l&&null!==l&&l.$$typeof===T&&yl(l)===t.type)?((r=a(t,n.props)).ref=vl(e,t,n),r.return=e,r):((r=Os(n.type,n.key,n.props,null,e.mode,r)).ref=vl(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Is(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,l){return null===t||7!==t.tag?((t=Rs(n,e.mode,r,l)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Os(t.type,t.key,t.props,null,e.mode,n)).ref=vl(e,null,t),n.return=e,n;case k:return(t=Is(t,e.mode,n)).return=e,t;case T:return d(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Rs(t,e.mode,n,null)).return=e,t;gl(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===a?s(e,t,n,r):null;case k:return n.key===a?c(e,t,n,r):null;case T:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||R(n))return null!==a?null:f(e,t,n,r,null);gl(e,n)}return null}function h(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case T:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||R(r))return f(t,e=e.get(n)||null,r,a,null);gl(t,r)}return null}function m(a,l,i,u){for(var s=null,c=null,f=l,m=l=0,v=null;null!==f&&m<i.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var g=p(a,f,i[m],u);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(a,f),l=o(g,l,m),null===c?s=g:c.sibling=g,c=g,f=v}if(m===i.length)return n(a,f),al&&Ja(a,m),s;if(null===f){for(;m<i.length;m++)null!==(f=d(a,i[m],u))&&(l=o(f,l,m),null===c?s=f:c.sibling=f,c=f);return al&&Ja(a,m),s}for(f=r(a,f);m<i.length;m++)null!==(v=h(f,a,m,i[m],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),l=o(v,l,m),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(a,e)})),al&&Ja(a,m),s}function v(a,i,u,s){var c=R(u);if("function"!==typeof c)throw Error(l(150));if(null==(u=c.call(u)))throw Error(l(151));for(var f=c=null,m=i,v=i=0,g=null,y=u.next();null!==m&&!y.done;v++,y=u.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,s);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),i=o(b,i,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(a,m),al&&Ja(a,v),c;if(null===m){for(;!y.done;v++,y=u.next())null!==(y=d(a,y.value,s))&&(i=o(y,i,v),null===f?c=y:f.sibling=y,f=y);return al&&Ja(a,v),c}for(m=r(a,m);!y.done;v++,y=u.next())null!==(y=h(m,a,v,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),i=o(y,i,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(a,e)})),al&&Ja(a,v),c}return function e(r,l,o,u){if("object"===typeof o&&null!==o&&o.type===_&&null===o.key&&(o=o.props.children),"object"===typeof o&&null!==o){switch(o.$$typeof){case x:e:{for(var s=o.key,c=l;null!==c;){if(c.key===s){if((s=o.type)===_){if(7===c.tag){n(r,c.sibling),(l=a(c,o.props.children)).return=r,r=l;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===T&&yl(s)===c.type){n(r,c.sibling),(l=a(c,o.props)).ref=vl(r,c,o),l.return=r,r=l;break e}n(r,c);break}t(r,c),c=c.sibling}o.type===_?((l=Rs(o.props.children,r.mode,u,o.key)).return=r,r=l):((u=Os(o.type,o.key,o.props,null,r.mode,u)).ref=vl(r,l,o),u.return=r,r=u)}return i(r);case k:e:{for(c=o.key;null!==l;){if(l.key===c){if(4===l.tag&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){n(r,l.sibling),(l=a(l,o.children||[])).return=r,r=l;break e}n(r,l);break}t(r,l),l=l.sibling}(l=Is(o,r.mode,u)).return=r,r=l}return i(r);case T:return e(r,l,(c=o._init)(o._payload),u)}if(te(o))return m(r,l,o,u);if(R(o))return v(r,l,o,u);gl(r,o)}return"string"===typeof o&&""!==o||"number"===typeof o?(o=""+o,null!==l&&6===l.tag?(n(r,l.sibling),(l=a(l,o)).return=r,r=l):(n(r,l),(l=Fs(o,r.mode,u)).return=r,r=l),i(r)):n(r,l)}}var wl=bl(!0),xl=bl(!1),kl=Sa(null),_l=null,Sl=null,Cl=null;function El(){Cl=Sl=_l=null}function Nl(e){var t=kl.current;Ca(kl),e._currentValue=t}function Ll(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jl(e,t){_l=e,Cl=Sl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bi=!0),e.firstContext=null)}function Pl(e){var t=e._currentValue;if(Cl!==e)if(e={context:e,memoizedValue:t,next:null},null===Sl){if(null===_l)throw Error(l(308));Sl=e,_l.dependencies={lanes:0,firstContext:e}}else Sl=Sl.next=e;return t}var Ml=null;function Tl(e){null===Ml?Ml=[e]:Ml.push(e)}function zl(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Tl(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ol(e,r)}function Ol(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Rl=!1;function Dl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Il(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ul(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Lu)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ol(e,n)}return null===(a=r.interleaved)?(t.next=t,Tl(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ol(e,n)}function Al(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Vl(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,l=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===l?a=l=o:l=l.next=o,n=n.next}while(null!==n);null===l?a=l=t:l=l.next=t}else a=l=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:l,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bl(e,t,n,r){var a=e.updateQueue;Rl=!1;var l=a.firstBaseUpdate,o=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===o?l=s:o.next=s,o=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==l){var f=a.baseState;for(o=0,c=s=u=null,i=l;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(d=t,p=n,m.tag){case 1:if("function"===typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=m.payload)?h.call(p,f,d):h)||void 0===d)break e;f=F({},f,d);break e;case 2:Rl=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i))}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,o|=d;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===l&&(a.shared.lanes=0);Du|=o,e.lanes=o,e.memoizedState=f}}function Hl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(l(191,a));a.call(r)}}}var $l={},Wl=Sa($l),Ql=Sa($l),Zl=Sa($l);function Kl(e){if(e===$l)throw Error(l(174));return e}function ql(e,t){switch(Ea(Zl,t),Ea(Ql,e),Ea(Wl,$l),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Wl),Ea(Wl,t)}function Yl(){Ca(Wl),Ca(Ql),Ca(Zl)}function Gl(e){Kl(Zl.current);var t=Kl(Wl.current),n=ue(t,e.type);t!==n&&(Ea(Ql,e),Ea(Wl,n))}function Jl(e){Ql.current===e&&(Ca(Wl),Ca(Ql))}var Xl=Sa(0);function eo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[];function no(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var ro=w.ReactCurrentDispatcher,ao=w.ReactCurrentBatchConfig,lo=0,oo=null,io=null,uo=null,so=!1,co=!1,fo=0,po=0;function ho(){throw Error(l(321))}function mo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function vo(e,t,n,r,a,o){if(lo=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ro.current=null===e||null===e.memoizedState?Xo:ei,e=n(r,a),co){o=0;do{if(co=!1,fo=0,25<=o)throw Error(l(301));o+=1,uo=io=null,t.updateQueue=null,ro.current=ti,e=n(r,a)}while(co)}if(ro.current=Jo,t=null!==io&&null!==io.next,lo=0,uo=io=oo=null,so=!1,t)throw Error(l(300));return e}function go(){var e=0!==fo;return fo=0,e}function yo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===uo?oo.memoizedState=uo=e:uo=uo.next=e,uo}function bo(){if(null===io){var e=oo.alternate;e=null!==e?e.memoizedState:null}else e=io.next;var t=null===uo?oo.memoizedState:uo.next;if(null!==t)uo=t,io=e;else{if(null===e)throw Error(l(310));e={memoizedState:(io=e).memoizedState,baseState:io.baseState,baseQueue:io.baseQueue,queue:io.queue,next:null},null===uo?oo.memoizedState=uo=e:uo=uo.next=e}return uo}function wo(e,t){return"function"===typeof t?t(e):t}function xo(e){var t=bo(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=io,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var u=i=null,s=null,c=o;do{var f=c.lane;if((lo&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,i=r):s=s.next=d,oo.lanes|=f,Du|=f}c=c.next}while(null!==c&&c!==o);null===s?i=r:s.next=u,ir(r,t.memoizedState)||(bi=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{o=a.lane,oo.lanes|=o,Du|=o,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ko(e){var t=bo(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do{o=e(o,i.action),i=i.next}while(i!==a);ir(o,t.memoizedState)||(bi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function _o(){}function So(e,t){var n=oo,r=bo(),a=t(),o=!ir(r.memoizedState,a);if(o&&(r.memoizedState=a,bi=!0),r=r.queue,Do(No.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==uo&&1&uo.memoizedState.tag){if(n.flags|=2048,Mo(9,Eo.bind(null,n,r,a,t),void 0,null),null===ju)throw Error(l(349));0!==(30&lo)||Co(n,t,a)}return a}function Co(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Eo(e,t,n,r){t.value=n,t.getSnapshot=r,Lo(t)&&jo(e)}function No(e,t,n){return n((function(){Lo(t)&&jo(e)}))}function Lo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(r){return!0}}function jo(e){var t=Ol(e,1);null!==t&&ns(t,e,1,-1)}function Po(e){var t=yo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:e},t.queue=e,e=e.dispatch=Ko.bind(null,oo,e),[t.memoizedState,e]}function Mo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function To(){return bo().memoizedState}function zo(e,t,n,r){var a=yo();oo.flags|=e,a.memoizedState=Mo(1|t,n,void 0,void 0===r?null:r)}function Oo(e,t,n,r){var a=bo();r=void 0===r?null:r;var l=void 0;if(null!==io){var o=io.memoizedState;if(l=o.destroy,null!==r&&mo(r,o.deps))return void(a.memoizedState=Mo(t,n,l,r))}oo.flags|=e,a.memoizedState=Mo(1|t,n,l,r)}function Ro(e,t){return zo(8390656,8,e,t)}function Do(e,t){return Oo(2048,8,e,t)}function Fo(e,t){return Oo(4,2,e,t)}function Io(e,t){return Oo(4,4,e,t)}function Uo(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ao(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Oo(4,4,Uo.bind(null,t,e),n)}function Vo(){}function Bo(e,t){var n=bo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ho(e,t){var n=bo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $o(e,t,n){return 0===(21&lo)?(e.baseState&&(e.baseState=!1,bi=!0),e.memoizedState=n):(ir(n,t)||(n=mt(),oo.lanes|=n,Du|=n,e.baseState=!0),t)}function Wo(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ao.transition;ao.transition={};try{e(!1),t()}finally{bt=n,ao.transition=r}}function Qo(){return bo().memoizedState}function Zo(e,t,n){var r=ts(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qo(e))Yo(t,n);else if(null!==(n=zl(e,t,n,r))){ns(n,e,r,es()),Go(n,t,r)}}function Ko(e,t,n){var r=ts(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qo(e))Yo(t,a);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=t.lastRenderedReducer))try{var o=t.lastRenderedState,i=l(o,n);if(a.hasEagerState=!0,a.eagerState=i,ir(i,o)){var u=t.interleaved;return null===u?(a.next=a,Tl(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=zl(e,t,a,r))&&(ns(n,e,r,a=es()),Go(n,t,r))}}function qo(e){var t=e.alternate;return e===oo||null!==t&&t===oo}function Yo(e,t){co=so=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Go(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Jo={readContext:Pl,useCallback:ho,useContext:ho,useEffect:ho,useImperativeHandle:ho,useInsertionEffect:ho,useLayoutEffect:ho,useMemo:ho,useReducer:ho,useRef:ho,useState:ho,useDebugValue:ho,useDeferredValue:ho,useTransition:ho,useMutableSource:ho,useSyncExternalStore:ho,useId:ho,unstable_isNewReconciler:!1},Xo={readContext:Pl,useCallback:function(e,t){return yo().memoizedState=[e,void 0===t?null:t],e},useContext:Pl,useEffect:Ro,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,zo(4194308,4,Uo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zo(4194308,4,e,t)},useInsertionEffect:function(e,t){return zo(4,2,e,t)},useMemo:function(e,t){var n=yo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Zo.bind(null,oo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},yo().memoizedState=e},useState:Po,useDebugValue:Vo,useDeferredValue:function(e){return yo().memoizedState=e},useTransition:function(){var e=Po(!1),t=e[0];return e=Wo.bind(null,e[1]),yo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oo,a=yo();if(al){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===ju)throw Error(l(349));0!==(30&lo)||Co(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ro(No.bind(null,r,o,e),[e]),r.flags|=2048,Mo(9,Eo.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=yo(),t=ju.identifierPrefix;if(al){var n=Ga;t=":"+t+"R"+(n=(Ya&~(1<<32-ot(Ya)-1)).toString(32)+n),0<(n=fo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=po++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ei={readContext:Pl,useCallback:Bo,useContext:Pl,useEffect:Do,useImperativeHandle:Ao,useInsertionEffect:Fo,useLayoutEffect:Io,useMemo:Ho,useReducer:xo,useRef:To,useState:function(){return xo(wo)},useDebugValue:Vo,useDeferredValue:function(e){return $o(bo(),io.memoizedState,e)},useTransition:function(){return[xo(wo)[0],bo().memoizedState]},useMutableSource:_o,useSyncExternalStore:So,useId:Qo,unstable_isNewReconciler:!1},ti={readContext:Pl,useCallback:Bo,useContext:Pl,useEffect:Do,useImperativeHandle:Ao,useInsertionEffect:Fo,useLayoutEffect:Io,useMemo:Ho,useReducer:ko,useRef:To,useState:function(){return ko(wo)},useDebugValue:Vo,useDeferredValue:function(e){var t=bo();return null===io?t.memoizedState=e:$o(t,io.memoizedState,e)},useTransition:function(){return[ko(wo)[0],bo().memoizedState]},useMutableSource:_o,useSyncExternalStore:So,useId:Qo,unstable_isNewReconciler:!1};function ni(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ri(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ai={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),l=Il(r,a);l.payload=t,void 0!==n&&null!==n&&(l.callback=n),null!==(t=Ul(e,l,a))&&(ns(t,e,a,r),Al(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=es(),a=ts(e),l=Il(r,a);l.tag=1,l.payload=t,void 0!==n&&null!==n&&(l.callback=n),null!==(t=Ul(e,l,a))&&(ns(t,e,a,r),Al(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=es(),r=ts(e),a=Il(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Ul(e,a,r))&&(ns(t,e,r,n),Al(t,e,r))}};function li(e,t,n,r,a,l,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,l,o):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,l))}function oi(e,t,n){var r=!1,a=Na,l=t.contextType;return"object"===typeof l&&null!==l?l=Pl(l):(a=Ta(t)?Pa:La.current,l=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ma(e,a):Na),t=new t(n,l),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ai,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=l),t}function ii(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ai.enqueueReplaceState(t,t.state,null)}function ui(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Dl(e);var l=t.contextType;"object"===typeof l&&null!==l?a.context=Pl(l):(l=Ta(t)?Pa:La.current,a.context=Ma(e,l)),a.state=e.memoizedState,"function"===typeof(l=t.getDerivedStateFromProps)&&(ri(e,t,l,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&ai.enqueueReplaceState(a,a.state,null),Bl(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function si(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(l){a="\nError generating stack: "+l.message+"\n"+l.stack}return{value:e,source:t,stack:a,digest:null}}function ci(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fi(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var di="function"===typeof WeakMap?WeakMap:Map;function pi(e,t,n){(n=Il(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$u||($u=!0,Wu=r),fi(0,t)},n}function hi(e,t,n){(n=Il(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fi(0,t)}}var l=e.stateNode;return null!==l&&"function"===typeof l.componentDidCatch&&(n.callback=function(){fi(0,t),"function"!==typeof r&&(null===Qu?Qu=new Set([this]):Qu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new di;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function vi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gi(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Il(-1,1)).tag=2,Ul(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var yi=w.ReactCurrentOwner,bi=!1;function wi(e,t,n,r){t.child=null===e?xl(t,null,n,r):wl(t,e.child,n,r)}function xi(e,t,n,r,a){n=n.render;var l=t.ref;return jl(t,a),r=vo(e,t,n,r,l,a),n=go(),null===e||bi?(al&&n&&el(t),t.flags|=1,wi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$i(e,t,a))}function ki(e,t,n,r,a){if(null===e){var l=n.type;return"function"!==typeof l||Ts(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Os(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,_i(e,t,l,r,a))}if(l=e.child,0===(e.lanes&a)){var o=l.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,r)&&e.ref===t.ref)return $i(e,t,a)}return t.flags|=1,(e=zs(l,r)).ref=t.ref,e.return=t,t.child=e}function _i(e,t,n,r,a){if(null!==e){var l=e.memoizedProps;if(ur(l,r)&&e.ref===t.ref){if(bi=!1,t.pendingProps=r=l,0===(e.lanes&a))return t.lanes=e.lanes,$i(e,t,a);0!==(131072&e.flags)&&(bi=!0)}}return Ei(e,t,n,r,a)}function Si(e,t,n){var r=t.pendingProps,a=r.children,l=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ea(zu,Tu),Tu|=n;else{if(0===(1073741824&n))return e=null!==l?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ea(zu,Tu),Tu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==l?l.baseLanes:n,Ea(zu,Tu),Tu|=r}else null!==l?(r=l.baseLanes|n,t.memoizedState=null):r=n,Ea(zu,Tu),Tu|=r;return wi(e,t,a,n),t.child}function Ci(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ei(e,t,n,r,a){var l=Ta(n)?Pa:La.current;return l=Ma(t,l),jl(t,a),n=vo(e,t,n,r,l,a),r=go(),null===e||bi?(al&&r&&el(t),t.flags|=1,wi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$i(e,t,a))}function Ni(e,t,n,r,a){if(Ta(n)){var l=!0;Da(t)}else l=!1;if(jl(t,a),null===t.stateNode)Hi(e,t),oi(t,n,r),ui(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var u=o.context,s=n.contextType;"object"===typeof s&&null!==s?s=Pl(s):s=Ma(t,s=Ta(n)?Pa:La.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(i!==r||u!==s)&&ii(t,o,r,s),Rl=!1;var d=t.memoizedState;o.state=d,Bl(t,r,o,a),u=t.memoizedState,i!==r||d!==u||ja.current||Rl?("function"===typeof c&&(ri(t,n,c,r),u=t.memoizedState),(i=Rl||li(t,n,i,r,d,u,s))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.flags|=4194308)):("function"===typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=s,r=i):("function"===typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Fl(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:ni(t.type,i),o.props=s,f=t.pendingProps,d=o.context,"object"===typeof(u=n.contextType)&&null!==u?u=Pl(u):u=Ma(t,u=Ta(n)?Pa:La.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(i!==f||d!==u)&&ii(t,o,r,u),Rl=!1,d=t.memoizedState,o.state=d,Bl(t,r,o,a);var h=t.memoizedState;i!==f||d!==h||ja.current||Rl?("function"===typeof p&&(ri(t,n,p,r),h=t.memoizedState),(s=Rl||li(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,u),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof o.componentDidUpdate&&(t.flags|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=u,r=s):("function"!==typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Li(e,t,n,r,l,a)}function Li(e,t,n,r,a,l){Ci(e,t);var o=0!==(128&t.flags);if(!r&&!o)return a&&Fa(t,n,!1),$i(e,t,l);r=t.stateNode,yi.current=t;var i=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=wl(t,e.child,null,l),t.child=wl(t,null,i,l)):wi(e,t,i,l),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function ji(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),ql(e,t.containerInfo)}function Pi(e,t,n,r,a){return pl(),hl(a),t.flags|=256,wi(e,t,n,r),t.child}var Mi,Ti,zi,Oi,Ri={dehydrated:null,treeContext:null,retryLane:0};function Di(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fi(e,t,n){var r,a=t.pendingProps,o=Xl.current,i=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),Ea(Xl,1&o),null===e)return sl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,i?(a=t.mode,i=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=Ds(u,a,0,null),e=Rs(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Di(n),t.memoizedState=Ri,e):Ii(t,u));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,Ui(e,t,i,r=ci(Error(l(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Ds({mode:"visible",children:r.children},a,0,null),(o=Rs(o,a,i,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!==(1&t.mode)&&wl(t,e.child,null,i),t.child.memoizedState=Di(i),t.memoizedState=Ri,o);if(0===(1&t.mode))return Ui(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Ui(e,t,i,r=ci(o=Error(l(419)),r,void 0))}if(u=0!==(i&e.childLanes),bi||u){if(null!==(r=ju)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,Ol(e,a),ns(r,e,a,-1))}return ms(),Ui(e,t,i,r=ci(Error(l(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ns.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,rl=sa(a.nextSibling),nl=t,al=!0,ll=null,null!==e&&(Za[Ka++]=Ya,Za[Ka++]=Ga,Za[Ka++]=qa,Ya=e.id,Ga=e.overflow,qa=t),t=Ii(t,r.children),t.flags|=4096,t)}(e,t,u,a,r,o,n);if(i){i=a.fallback,u=t.mode,r=(o=e.child).sibling;var s={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=zs(o,s)).subtreeFlags=14680064&o.subtreeFlags,null!==r?i=zs(r,i):(i=Rs(i,u,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,u=null===(u=e.child.memoizedState)?Di(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=Ri,a}return e=(i=e.child).sibling,a=zs(i,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Ii(e,t){return(t=Ds({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ui(e,t,n,r){return null!==r&&hl(r),wl(t,e.child,null,n),(e=Ii(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ai(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ll(e.return,t,n)}function Vi(e,t,n,r,a){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=a)}function Bi(e,t,n){var r=t.pendingProps,a=r.revealOrder,l=r.tail;if(wi(e,t,r.children,n),0!==(2&(r=Xl.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ai(e,n,t);else if(19===e.tag)Ai(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ea(Xl,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===eo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Vi(t,!1,a,n,l);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===eo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Vi(t,!0,n,null,l);break;case"together":Vi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hi(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $i(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Du|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=zs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wi(e,t){if(!al)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qi(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Zi(e,t,n){var r=t.pendingProps;switch(tl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qi(t),null;case 1:case 17:return Ta(t.type)&&za(),Qi(t),null;case 3:return r=t.stateNode,Yl(),Ca(ja),Ca(La),no(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ll&&(os(ll),ll=null))),Ti(e,t),Qi(t),null;case 5:Jl(t);var a=Kl(Zl.current);if(n=t.type,null!==e&&null!=t.stateNode)zi(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(l(166));return Qi(t),null}if(e=Kl(Wl.current),fl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[da]=t,r[pa]=o,e=0!==(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(a=0;a<Rr.length;a++)Ur(Rr[a],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":Y(r,o),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Ur("invalid",r);break;case"textarea":ae(r,o),Ur("invalid",r)}for(var u in ye(n,o),a=null,o)if(o.hasOwnProperty(u)){var s=o[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==o.suppressHydrationWarning&&Jr(r.textContent,s,e),a=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==o.suppressHydrationWarning&&Jr(r.textContent,s,e),a=["children",""+s]):i.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Ur("scroll",r)}switch(n){case"input":Q(r),X(r,o,!0);break;case"textarea":Q(r),oe(r);break;case"select":case"option":break;default:"function"===typeof o.onClick&&(r.onclick=Xr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[da]=t,e[pa]=r,Mi(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),a=r;break;case"iframe":case"object":case"embed":Ur("load",e),a=r;break;case"video":case"audio":for(a=0;a<Rr.length;a++)Ur(Rr[a],e);a=r;break;case"source":Ur("error",e),a=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),a=r;break;case"details":Ur("toggle",e),a=r;break;case"input":Y(e,r),a=q(e,r),Ur("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Ur("invalid",e)}for(o in ye(n,a),s=a)if(s.hasOwnProperty(o)){var c=s[o];"style"===o?ve(e,c):"dangerouslySetInnerHTML"===o?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===o?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(i.hasOwnProperty(o)?null!=c&&"onScroll"===o&&Ur("scroll",e):null!=c&&b(e,o,c,u))}switch(n){case"input":Q(e),X(e,r,!1);break;case"textarea":Q(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+$(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Qi(t),null;case 6:if(e&&null!=t.stateNode)Oi(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(l(166));if(n=Kl(Zl.current),Kl(Wl.current),fl(t)){if(r=t.stateNode,n=t.memoizedProps,r[da]=t,(o=r.nodeValue!==n)&&null!==(e=nl))switch(e.tag){case 3:Jr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!==(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[da]=t,t.stateNode=r}return Qi(t),null;case 13:if(Ca(Xl),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(al&&null!==rl&&0!==(1&t.mode)&&0===(128&t.flags))dl(),pl(),t.flags|=98560,o=!1;else if(o=fl(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(l(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(l(317));o[da]=t}else pl(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Qi(t),o=!1}else null!==ll&&(os(ll),ll=null),o=!0;if(!o)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&Xl.current)?0===Ou&&(Ou=3):ms())),null!==t.updateQueue&&(t.flags|=4),Qi(t),null);case 4:return Yl(),Ti(e,t),null===e&&Br(t.stateNode.containerInfo),Qi(t),null;case 10:return Nl(t.type._context),Qi(t),null;case 19:if(Ca(Xl),null===(o=t.memoizedState))return Qi(t),null;if(r=0!==(128&t.flags),null===(u=o.rendering))if(r)Wi(o,!1);else{if(0!==Ou||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=eo(e))){for(t.flags|=128,Wi(o,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(u=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,e=u.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ea(Xl,1&Xl.current|2),t.child}e=e.sibling}null!==o.tail&&Ge()>Bu&&(t.flags|=128,r=!0,Wi(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=eo(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wi(o,!0),null===o.tail&&"hidden"===o.tailMode&&!u.alternate&&!al)return Qi(t),null}else 2*Ge()-o.renderingStartTime>Bu&&1073741824!==n&&(t.flags|=128,r=!0,Wi(o,!1),t.lanes=4194304);o.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=o.last)?n.sibling=u:t.child=u,o.last=u)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,n=Xl.current,Ea(Xl,r?1&n|2:1&n),t):(Qi(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Tu)&&(Qi(t),6&t.subtreeFlags&&(t.flags|=8192)):Qi(t),null;case 24:case 25:return null}throw Error(l(156,t.tag))}function Ki(e,t){switch(tl(t),t.tag){case 1:return Ta(t.type)&&za(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yl(),Ca(ja),Ca(La),no(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jl(t),null;case 13:if(Ca(Xl),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));pl()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(Xl),null;case 4:return Yl(),null;case 10:return Nl(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Mi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ti=function(){},zi=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Kl(Wl.current);var l,o=null;switch(n){case"input":a=q(e,a),r=q(e,r),o=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),o=[];break;case"textarea":a=re(e,a),r=re(e,r),o=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Xr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(l in u)!u.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&u[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(o||(o=[]),o.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(o=o||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(o=o||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ur("scroll",e),o||u===s||(o=[])):(o=o||[]).push(c,s))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}},Oi=function(e,t,n,r){n!==r&&(t.flags|=4)};var qi=!1,Yi=!1,Gi="function"===typeof WeakSet?WeakSet:Set,Ji=null;function Xi(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ss(e,t,r)}else n.current=null}function eu(e,t,n){try{n()}catch(r){Ss(e,t,r)}}var tu=!1;function nu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var l=a.destroy;a.destroy=void 0,void 0!==l&&eu(t,n,l)}a=a.next}while(a!==r)}}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function au(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function lu(e){var t=e.alternate;null!==t&&(e.alternate=null,lu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[pa],delete t[ma],delete t[va],delete t[ga])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ou(e){return 5===e.tag||3===e.tag||4===e.tag}function iu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ou(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}var cu=null,fu=!1;function du(e,t,n){for(n=n.child;null!==n;)pu(e,t,n),n=n.sibling}function pu(e,t,n){if(lt&&"function"===typeof lt.onCommitFiberUnmount)try{lt.onCommitFiberUnmount(at,n)}catch(i){}switch(n.tag){case 5:Yi||Xi(n,t);case 6:var r=cu,a=fu;cu=null,du(e,t,n),fu=a,null!==(cu=r)&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(fu?(e=cu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Bt(e)):ua(cu,n.stateNode));break;case 4:r=cu,a=fu,cu=n.stateNode.containerInfo,fu=!0,du(e,t,n),cu=r,fu=a;break;case 0:case 11:case 14:case 15:if(!Yi&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var l=a,o=l.destroy;l=l.tag,void 0!==o&&(0!==(2&l)||0!==(4&l))&&eu(n,t,o),a=a.next}while(a!==r)}du(e,t,n);break;case 1:if(!Yi&&(Xi(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Ss(n,t,i)}du(e,t,n);break;case 21:du(e,t,n);break;case 22:1&n.mode?(Yi=(r=Yi)||null!==n.memoizedState,du(e,t,n),Yi=r):du(e,t,n);break;default:du(e,t,n)}}function hu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Gi),t.forEach((function(t){var r=Ls.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,i=t,u=i;e:for(;null!==u;){switch(u.tag){case 5:cu=u.stateNode,fu=!1;break e;case 3:case 4:cu=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===cu)throw Error(l(160));pu(o,i,a),cu=null,fu=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(c){Ss(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vu(t,e),t=t.sibling}function vu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),gu(e),4&r){try{nu(3,e,e.return),ru(3,e)}catch(v){Ss(e,e.return,v)}try{nu(5,e,e.return)}catch(v){Ss(e,e.return,v)}}break;case 1:mu(t,e),gu(e),512&r&&null!==n&&Xi(n,n.return);break;case 5:if(mu(t,e),gu(e),512&r&&null!==n&&Xi(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(v){Ss(e,e.return,v)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==n?n.memoizedProps:o,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===o.type&&null!=o.name&&G(a,o),be(u,i);var c=be(u,o);for(i=0;i<s.length;i+=2){var f=s[i],d=s[i+1];"style"===f?ve(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):b(a,f,d,c)}switch(u){case"input":J(a,o);break;case"textarea":le(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?ne(a,!!o.multiple,h,!1):p!==!!o.multiple&&(null!=o.defaultValue?ne(a,!!o.multiple,o.defaultValue,!0):ne(a,!!o.multiple,o.multiple?[]:"",!1))}a[pa]=o}catch(v){Ss(e,e.return,v)}}break;case 6:if(mu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(l(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(v){Ss(e,e.return,v)}}break;case 3:if(mu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(v){Ss(e,e.return,v)}break;case 4:default:mu(t,e),gu(e);break;case 13:mu(t,e),gu(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(Vu=Ge())),4&r&&hu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Yi=(c=Yi)||f,mu(t,e),Yi=c):mu(t,e),gu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for(Ji=e,f=e.child;null!==f;){for(d=Ji=f;null!==Ji;){switch(h=(p=Ji).child,p.tag){case 0:case 11:case 14:case 15:nu(4,p,p.return);break;case 1:Xi(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ss(r,n,v)}}break;case 5:Xi(p,p.return);break;case 22:if(null!==p.memoizedState){xu(d);continue}}null!==h?(h.return=p,Ji=h):xu(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"===typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(u=d.stateNode,i=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=me("display",i))}catch(v){Ss(e,e.return,v)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(v){Ss(e,e.return,v)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),gu(e),4&r&&hu(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ou(n)){var r=n;break e}n=n.return}throw Error(l(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),su(e,iu(e),a);break;case 3:case 4:var o=r.stateNode.containerInfo;uu(e,iu(e),o);break;default:throw Error(l(161))}}catch(i){Ss(e,e.return,i)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Ji=e,bu(e,t,n)}function bu(e,t,n){for(var r=0!==(1&e.mode);null!==Ji;){var a=Ji,l=a.child;if(22===a.tag&&r){var o=null!==a.memoizedState||qi;if(!o){var i=a.alternate,u=null!==i&&null!==i.memoizedState||Yi;i=qi;var s=Yi;if(qi=o,(Yi=u)&&!s)for(Ji=a;null!==Ji;)u=(o=Ji).child,22===o.tag&&null!==o.memoizedState?ku(a):null!==u?(u.return=o,Ji=u):ku(a);for(;null!==l;)Ji=l,bu(l,t,n),l=l.sibling;Ji=a,qi=i,Yi=s}wu(e)}else 0!==(8772&a.subtreeFlags)&&null!==l?(l.return=a,Ji=l):wu(e)}}function wu(e){for(;null!==Ji;){var t=Ji;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yi||ru(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yi)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ni(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Hl(t,o,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Hl(t,i,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Bt(d)}}}break;default:throw Error(l(163))}Yi||512&t.flags&&au(t)}catch(p){Ss(t,t.return,p)}}if(t===e){Ji=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ji=n;break}Ji=t.return}}function xu(e){for(;null!==Ji;){var t=Ji;if(t===e){Ji=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ji=n;break}Ji=t.return}}function ku(e){for(;null!==Ji;){var t=Ji;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ru(4,t)}catch(u){Ss(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){Ss(t,a,u)}}var l=t.return;try{au(t)}catch(u){Ss(t,l,u)}break;case 5:var o=t.return;try{au(t)}catch(u){Ss(t,o,u)}}}catch(u){Ss(t,t.return,u)}if(t===e){Ji=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Ji=i;break}Ji=t.return}}var _u,Su=Math.ceil,Cu=w.ReactCurrentDispatcher,Eu=w.ReactCurrentOwner,Nu=w.ReactCurrentBatchConfig,Lu=0,ju=null,Pu=null,Mu=0,Tu=0,zu=Sa(0),Ou=0,Ru=null,Du=0,Fu=0,Iu=0,Uu=null,Au=null,Vu=0,Bu=1/0,Hu=null,$u=!1,Wu=null,Qu=null,Zu=!1,Ku=null,qu=0,Yu=0,Gu=null,Ju=-1,Xu=0;function es(){return 0!==(6&Lu)?Ge():-1!==Ju?Ju:Ju=Ge()}function ts(e){return 0===(1&e.mode)?1:0!==(2&Lu)&&0!==Mu?Mu&-Mu:null!==ml.transition?(0===Xu&&(Xu=mt()),Xu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function ns(e,t,n,r){if(50<Yu)throw Yu=0,Gu=null,Error(l(185));gt(e,n,r),0!==(2&Lu)&&e===ju||(e===ju&&(0===(2&Lu)&&(Fu|=n),4===Ou&&is(e,Mu)),rs(e,r),1===n&&0===Lu&&0===(1&t.mode)&&(Bu=Ge()+500,Ua&&Ba()))}function rs(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var o=31-ot(l),i=1<<o,u=a[o];-1===u?0!==(i&n)&&0===(i&r)||(a[o]=pt(i,t)):u<=t&&(e.expiredLanes|=i),l&=~i}}(e,t);var r=dt(e,e===ju?Mu:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){Ua=!0,Va(e)}(us.bind(null,e)):Va(us.bind(null,e)),oa((function(){0===(6&Lu)&&Ba()})),n=null;else{switch(wt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=js(n,as.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function as(e,t){if(Ju=-1,Xu=0,0!==(6&Lu))throw Error(l(327));var n=e.callbackNode;if(ks()&&e.callbackNode!==n)return null;var r=dt(e,e===ju?Mu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vs(e,r);else{t=r;var a=Lu;Lu|=2;var o=hs();for(ju===e&&Mu===t||(Hu=null,Bu=Ge()+500,ds(e,t));;)try{ys();break}catch(u){ps(e,u)}El(),Cu.current=o,Lu=a,null!==Pu?t=0:(ju=null,Mu=0,t=Ou)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ls(e,a))),1===t)throw n=Ru,ds(e,0),is(e,r),rs(e,Ge()),n;if(6===t)is(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],l=a.getSnapshot;a=a.value;try{if(!ir(l(),a))return!1}catch(i){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=vs(e,r))&&(0!==(o=ht(e))&&(r=o,t=ls(e,o))),1===t))throw n=Ru,ds(e,0),is(e,r),rs(e,Ge()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(l(345));case 2:case 5:xs(e,Au,Hu);break;case 3:if(is(e,r),(130023424&r)===r&&10<(t=Vu+500-Ge())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){es(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(xs.bind(null,e,Au,Hu),t);break}xs(e,Au,Hu);break;case 4:if(is(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var i=31-ot(r);o=1<<i,(i=t[i])>a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Su(r/1960))-r)){e.timeoutHandle=ra(xs.bind(null,e,Au,Hu),r);break}xs(e,Au,Hu);break;default:throw Error(l(329))}}}return rs(e,Ge()),e.callbackNode===n?as.bind(null,e):null}function ls(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),2!==(e=vs(e,t))&&(t=Au,Au=n,null!==t&&os(t)),e}function os(e){null===Au?Au=e:Au.push.apply(Au,e)}function is(e,t){for(t&=~Iu,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function us(e){if(0!==(6&Lu))throw Error(l(327));ks();var t=dt(e,0);if(0===(1&t))return rs(e,Ge()),null;var n=vs(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ls(e,r))}if(1===n)throw n=Ru,ds(e,0),is(e,t),rs(e,Ge()),n;if(6===n)throw Error(l(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xs(e,Au,Hu),rs(e,Ge()),null}function ss(e,t){var n=Lu;Lu|=1;try{return e(t)}finally{0===(Lu=n)&&(Bu=Ge()+500,Ua&&Ba())}}function cs(e){null!==Ku&&0===Ku.tag&&0===(6&Lu)&&ks();var t=Lu;Lu|=1;var n=Nu.transition,r=bt;try{if(Nu.transition=null,bt=1,e)return e()}finally{bt=r,Nu.transition=n,0===(6&(Lu=t))&&Ba()}}function fs(){Tu=zu.current,Ca(zu)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Pu)for(n=Pu.return;null!==n;){var r=n;switch(tl(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&za();break;case 3:Yl(),Ca(ja),Ca(La),no();break;case 5:Jl(r);break;case 4:Yl();break;case 13:case 19:Ca(Xl);break;case 10:Nl(r.type._context);break;case 22:case 23:fs()}n=n.return}if(ju=e,Pu=e=zs(e.current,null),Mu=Tu=t,Ou=0,Ru=null,Iu=Fu=Du=0,Au=Uu=null,null!==Ml){for(t=0;t<Ml.length;t++)if(null!==(r=(n=Ml[t]).interleaved)){n.interleaved=null;var a=r.next,l=n.pending;if(null!==l){var o=l.next;l.next=a,r.next=o}n.pending=r}Ml=null}return e}function ps(e,t){for(;;){var n=Pu;try{if(El(),ro.current=Jo,so){for(var r=oo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}so=!1}if(lo=0,uo=io=oo=null,co=!1,fo=0,Eu.current=null,null===n||null===n.return){Ou=1,Ru=t,Pu=null;break}e:{var o=e,i=n.return,u=n,s=t;if(t=Mu,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=vi(i);if(null!==h){h.flags&=-257,gi(h,i,u,0,t),1&h.mode&&mi(o,c,t),s=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(s),t.updateQueue=v}else m.add(s);break e}if(0===(1&t)){mi(o,c,t),ms();break e}s=Error(l(426))}else if(al&&1&u.mode){var g=vi(i);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),gi(g,i,u,0,t),hl(si(s,u));break e}}o=s=si(s,u),4!==Ou&&(Ou=2),null===Uu?Uu=[o]:Uu.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Vl(o,pi(0,s,t));break e;case 1:u=s;var y=o.type,b=o.stateNode;if(0===(128&o.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Qu||!Qu.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,Vl(o,hi(o,u,t));break e}}o=o.return}while(null!==o)}ws(n)}catch(w){t=w,Pu===n&&null!==n&&(Pu=n=n.return);continue}break}}function hs(){var e=Cu.current;return Cu.current=Jo,null===e?Jo:e}function ms(){0!==Ou&&3!==Ou&&2!==Ou||(Ou=4),null===ju||0===(268435455&Du)&&0===(268435455&Fu)||is(ju,Mu)}function vs(e,t){var n=Lu;Lu|=2;var r=hs();for(ju===e&&Mu===t||(Hu=null,ds(e,t));;)try{gs();break}catch(a){ps(e,a)}if(El(),Lu=n,Cu.current=r,null!==Pu)throw Error(l(261));return ju=null,Mu=0,Ou}function gs(){for(;null!==Pu;)bs(Pu)}function ys(){for(;null!==Pu&&!qe();)bs(Pu)}function bs(e){var t=_u(e.alternate,e,Tu);e.memoizedProps=e.pendingProps,null===t?ws(e):Pu=t,Eu.current=null}function ws(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Zi(n,t,Tu)))return void(Pu=n)}else{if(null!==(n=Ki(n,t)))return n.flags&=32767,void(Pu=n);if(null===e)return Ou=6,void(Pu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pu=t);Pu=t=e}while(null!==t);0===Ou&&(Ou=5)}function xs(e,t,n){var r=bt,a=Nu.transition;try{Nu.transition=null,bt=1,function(e,t,n,r){do{ks()}while(null!==Ku);if(0!==(6&Lu))throw Error(l(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(l(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-ot(n),l=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~l}}(e,o),e===ju&&(Pu=ju=null,Mu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Zu||(Zu=!0,js(tt,(function(){return ks(),null}))),o=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||o){o=Nu.transition,Nu.transition=null;var i=bt;bt=1;var u=Lu;Lu|=4,Eu.current=null,function(e,t){if(ea=$t,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(x){n=null;break e}var i=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==a&&3!==d.nodeType||(u=i+a),d!==o||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===a&&(u=i),p===o&&++f===r&&(s=i),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},$t=!1,Ji=t;null!==Ji;)if(e=(t=Ji).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ji=e;else for(;null!==Ji;){t=Ji;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ni(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(l(163))}}catch(x){Ss(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Ji=e;break}Ji=t.return}m=tu,tu=!1}(e,n),vu(n,e),hr(ta),$t=!!ea,ta=ea=null,e.current=n,yu(n,e,a),Ye(),Lu=u,bt=i,Nu.transition=o}else e.current=n;if(Zu&&(Zu=!1,Ku=e,qu=a),o=e.pendingLanes,0===o&&(Qu=null),function(e){if(lt&&"function"===typeof lt.onCommitFiberRoot)try{lt.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),rs(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if($u)throw $u=!1,e=Wu,Wu=null,e;0!==(1&qu)&&0!==e.tag&&ks(),o=e.pendingLanes,0!==(1&o)?e===Gu?Yu++:(Yu=0,Gu=e):Yu=0,Ba()}(e,t,n,r)}finally{Nu.transition=a,bt=r}return null}function ks(){if(null!==Ku){var e=wt(qu),t=Nu.transition,n=bt;try{if(Nu.transition=null,bt=16>e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,qu=0,0!==(6&Lu))throw Error(l(331));var a=Lu;for(Lu|=4,Ji=e.current;null!==Ji;){var o=Ji,i=o.child;if(0!==(16&Ji.flags)){var u=o.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Ji=c;null!==Ji;){var f=Ji;switch(f.tag){case 0:case 11:case 15:nu(8,f,o)}var d=f.child;if(null!==d)d.return=f,Ji=d;else for(;null!==Ji;){var p=(f=Ji).sibling,h=f.return;if(lu(f),f===c){Ji=null;break}if(null!==p){p.return=h,Ji=p;break}Ji=h}}}var m=o.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Ji=o}}if(0!==(2064&o.subtreeFlags)&&null!==i)i.return=o,Ji=i;else e:for(;null!==Ji;){if(0!==(2048&(o=Ji).flags))switch(o.tag){case 0:case 11:case 15:nu(9,o,o.return)}var y=o.sibling;if(null!==y){y.return=o.return,Ji=y;break e}Ji=o.return}}var b=e.current;for(Ji=b;null!==Ji;){var w=(i=Ji).child;if(0!==(2064&i.subtreeFlags)&&null!==w)w.return=i,Ji=w;else e:for(i=b;null!==Ji;){if(0!==(2048&(u=Ji).flags))try{switch(u.tag){case 0:case 11:case 15:ru(9,u)}}catch(k){Ss(u,u.return,k)}if(u===i){Ji=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,Ji=x;break e}Ji=u.return}}if(Lu=a,Ba(),lt&&"function"===typeof lt.onPostCommitFiberRoot)try{lt.onPostCommitFiberRoot(at,e)}catch(k){}r=!0}return r}finally{bt=n,Nu.transition=t}}return!1}function _s(e,t,n){e=Ul(e,t=pi(0,t=si(n,t),1),1),t=es(),null!==e&&(gt(e,1,t),rs(e,t))}function Ss(e,t,n){if(3===e.tag)_s(e,e,n);else for(;null!==t;){if(3===t.tag){_s(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Qu||!Qu.has(r))){t=Ul(t,e=hi(t,e=si(n,e),1),1),e=es(),null!==t&&(gt(t,1,e),rs(t,e));break}}t=t.return}}function Cs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=es(),e.pingedLanes|=e.suspendedLanes&n,ju===e&&(Mu&n)===n&&(4===Ou||3===Ou&&(130023424&Mu)===Mu&&500>Ge()-Vu?ds(e,0):Iu|=n),rs(e,t)}function Es(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=es();null!==(e=Ol(e,t))&&(gt(e,t,n),rs(e,n))}function Ns(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Es(e,n)}function Ls(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(l(314))}null!==r&&r.delete(t),Es(e,n)}function js(e,t){return Ze(e,t)}function Ps(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ms(e,t,n,r){return new Ps(e,t,n,r)}function Ts(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zs(e,t){var n=e.alternate;return null===n?((n=Ms(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Os(e,t,n,r,a,o){var i=2;if(r=e,"function"===typeof e)Ts(e)&&(i=1);else if("string"===typeof e)i=5;else e:switch(e){case _:return Rs(n.children,a,o,t);case S:i=8,a|=8;break;case C:return(e=Ms(12,n,t,2|a)).elementType=C,e.lanes=o,e;case j:return(e=Ms(13,n,t,a)).elementType=j,e.lanes=o,e;case P:return(e=Ms(19,n,t,a)).elementType=P,e.lanes=o,e;case z:return Ds(n,a,o,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:i=10;break e;case N:i=9;break e;case L:i=11;break e;case M:i=14;break e;case T:i=16,r=null;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Ms(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Rs(e,t,n,r){return(e=Ms(7,e,r,t)).lanes=n,e}function Ds(e,t,n,r){return(e=Ms(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Ms(6,e,null,t)).lanes=n,e}function Is(e,t,n){return(t=Ms(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Us(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function As(e,t,n,r,a,l,o,i,u){return e=new Us(e,t,n,i,u),1===t?(t=1,!0===l&&(t|=8)):t=0,l=Ms(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dl(l),e}function Vs(e){if(!e)return Na;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(l(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(l(171))}if(1===e.tag){var n=e.type;if(Ta(n))return Ra(e,n,t)}return t}function Bs(e,t,n,r,a,l,o,i,u){return(e=As(n,r,!0,e,0,l,0,i,u)).context=Vs(null),n=e.current,(l=Il(r=es(),a=ts(n))).callback=void 0!==t&&null!==t?t:null,Ul(n,l,a),e.current.lanes=a,gt(e,a,r),rs(e,r),e}function Hs(e,t,n,r){var a=t.current,l=es(),o=ts(a);return n=Vs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Il(l,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ul(a,t,o))&&(ns(e,a,o,l),Al(e,a,o)),o}function $s(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ws(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qs(e,t){Ws(e,t),(e=e.alternate)&&Ws(e,t)}_u=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ja.current)bi=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bi=!1,function(e,t,n){switch(t.tag){case 3:ji(t),pl();break;case 5:Gl(t);break;case 1:Ta(t.type)&&Da(t);break;case 4:ql(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ea(kl,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ea(Xl,1&Xl.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fi(e,t,n):(Ea(Xl,1&Xl.current),null!==(e=$i(e,t,n))?e.sibling:null);Ea(Xl,1&Xl.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Bi(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ea(Xl,Xl.current),r)break;return null;case 22:case 23:return t.lanes=0,Si(e,t,n)}return $i(e,t,n)}(e,t,n);bi=0!==(131072&e.flags)}else bi=!1,al&&0!==(1048576&t.flags)&&Xa(t,Qa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hi(e,t),e=t.pendingProps;var a=Ma(t,La.current);jl(t,n),a=vo(null,t,r,e,a,n);var o=go();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(o=!0,Da(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Dl(t),a.updater=ai,t.stateNode=a,a._reactInternals=t,ui(t,r,e,n),t=Li(null,t,r,!0,o,n)):(t.tag=0,al&&o&&el(t),wi(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hi(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Ts(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===L)return 11;if(e===M)return 14}return 2}(r),e=ni(r,e),a){case 0:t=Ei(null,t,r,e,n);break e;case 1:t=Ni(null,t,r,e,n);break e;case 11:t=xi(null,t,r,e,n);break e;case 14:t=ki(null,t,r,ni(r.type,e),n);break e}throw Error(l(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ei(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ni(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 3:e:{if(ji(t),null===e)throw Error(l(387));r=t.pendingProps,a=(o=t.memoizedState).element,Fl(e,t),Bl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Pi(e,t,r,n,a=si(Error(l(423)),t));break e}if(r!==a){t=Pi(e,t,r,n,a=si(Error(l(424)),t));break e}for(rl=sa(t.stateNode.containerInfo.firstChild),nl=t,al=!0,ll=null,n=xl(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pl(),r===a){t=$i(e,t,n);break e}wi(e,t,r,n)}t=t.child}return t;case 5:return Gl(t),null===e&&sl(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,na(r,a)?i=null:null!==o&&na(r,o)&&(t.flags|=32),Ci(e,t),wi(e,t,i,n),t.child;case 6:return null===e&&sl(t),null;case 13:return Fi(e,t,n);case 4:return ql(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wl(t,null,r,n):wi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,xi(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 7:return wi(e,t,t.pendingProps,n),t.child;case 8:case 12:return wi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,Ea(kl,r._currentValue),r._currentValue=i,null!==o)if(ir(o.value,i)){if(o.children===a.children&&!ja.current){t=$i(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var u=o.dependencies;if(null!==u){i=o.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===o.tag){(s=Il(-1,n&-n)).tag=2;var c=o.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),Ll(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(l(341));i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Ll(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}wi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,jl(t,n),r=r(a=Pl(a)),t.flags|=1,wi(e,t,r,n),t.child;case 14:return a=ni(r=t.type,t.pendingProps),ki(e,t,r,a=ni(r.type,a),n);case 15:return _i(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ni(r,a),Hi(e,t),t.tag=1,Ta(r)?(e=!0,Da(t)):e=!1,jl(t,n),oi(t,r,a),ui(t,r,a,n),Li(null,t,r,!0,e,n);case 19:return Bi(e,t,n);case 22:return Si(e,t,n)}throw Error(l(156,t.tag))};var Zs="function"===typeof reportError?reportError:function(e){console.error(e)};function Ks(e){this._internalRoot=e}function qs(e){this._internalRoot=e}function Ys(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Js(){}function Xs(e,t,n,r,a){var l=n._reactRootContainer;if(l){var o=l;if("function"===typeof a){var i=a;a=function(){var e=$s(o);i.call(e)}}Hs(t,o,e,a)}else o=function(e,t,n,r,a){if(a){if("function"===typeof r){var l=r;r=function(){var e=$s(o);l.call(e)}}var o=Bs(t,r,e,0,null,!1,0,"",Js);return e._reactRootContainer=o,e[ha]=o.current,Br(8===e.nodeType?e.parentNode:e),cs(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var i=r;r=function(){var e=$s(u);i.call(e)}}var u=As(e,0,!1,null,0,!1,0,"",Js);return e._reactRootContainer=u,e[ha]=u.current,Br(8===e.nodeType?e.parentNode:e),cs((function(){Hs(t,u,n,r)})),u}(n,t,e,a,r);return $s(o)}qs.prototype.render=Ks.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));Hs(e,t,null,null)},qs.prototype.unmount=Ks.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cs((function(){Hs(null,e,null,null)})),t[ha]=null}},qs.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&0!==t&&t<zt[n].priority;n++);zt.splice(n,0,e),0===n&&Ft(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),rs(t,Ge()),0===(6&Lu)&&(Bu=Ge()+500,Ba()))}break;case 13:cs((function(){var t=Ol(e,1);if(null!==t){var n=es();ns(t,e,1,n)}})),Qs(e,1)}},kt=function(e){if(13===e.tag){var t=Ol(e,134217728);if(null!==t)ns(t,e,134217728,es());Qs(e,134217728)}},_t=function(e){if(13===e.tag){var t=ts(e),n=Ol(e,t);if(null!==n)ns(n,e,t,es());Qs(e,t)}},St=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=xa(r);if(!a)throw Error(l(90));Z(r),J(r,a)}}}break;case"textarea":le(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Le=ss,je=cs;var ec={usingClientEntryPoint:!1,Events:[ba,wa,xa,Ee,Ne,ss]},tc={findFiberByHostInstance:ya,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{at=rc.inject(nc),lt=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ys(t))throw Error(l(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Ys(e))throw Error(l(299));var n=!1,r="",a=Zs;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=As(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Br(8===e.nodeType?e.parentNode:e),new Ks(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(l(188));throw e=Object.keys(e).join(","),Error(l(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return cs(e)},t.hydrate=function(e,t,n){if(!Gs(t))throw Error(l(200));return Xs(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ys(e))throw Error(l(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",i=Zs;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=Bs(t,null,e,1,null!=n?n:null,a,0,o,i),e[ha]=t.current,Br(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new qs(t)},t.render=function(e,t,n){if(!Gs(t))throw Error(l(200));return Xs(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Gs(e))throw Error(l(40));return!!e._reactRootContainer&&(cs((function(){Xs(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=ss,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gs(n))throw Error(l(200));if(null==e||void 0===e._reactInternals)throw Error(l(38));return Xs(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},391:(e,t,n)=>{var r=n(950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},950:(e,t,n)=>{!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(730)},153:(e,t,n)=>{var r=n(43),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,l={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,r)&&!u.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:a,type:e,key:s,ref:c,props:l,_owner:i.current}}t.Fragment=l,t.jsx=s,t.jsxs=s},202:(e,t)=>{var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,m(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,_={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,l={},o=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(o=""+t.key),t)k.call(t,a)&&!S.hasOwnProperty(a)&&(l[a]=t[a]);var u=arguments.length-2;if(1===u)l.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===l[a]&&(l[a]=u[a]);return{$$typeof:n,type:e,key:o,ref:i,props:l,_owner:_.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function L(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,a,l,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return o=o(u=e),e=""===l?"."+L(u,0):l,x(o)?(a="",null!=e&&(a=e.replace(N,"$&/")+"/"),j(o,t,a,"",(function(e){return e}))):null!=o&&(E(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,a+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(N,"$&/")+"/")+e)),t.push(o)),1;if(u=0,l=""===l?".":l+":",x(e))for(var s=0;s<e.length;s++){var c=l+L(i=e[s],s);u+=j(i,t,a,c,o)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=j(i=i.value,t,a,c=l+L(i,s++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function P(e,t,n){if(null==e)return e;var r=[],a=0;return j(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function M(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},z={transition:null},O={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:z,ReactCurrentOwner:_};function R(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,n){P(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=a,t.Profiler=o,t.PureComponent=b,t.StrictMode=l,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=R,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),l=e.key,o=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,i=_.current),void 0!==t.key&&(l=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)k.call(t,s)&&!S.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:l,ref:o,props:a,_owner:i}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:M}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=z.transition;z.transition={};try{e()}finally{z.transition=t}},t.unstable_act=R,t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.3.1"},43:(e,t,n)=>{e.exports=n(202)},579:(e,t,n)=>{e.exports=n(153)},234:(e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<l(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>l(u,n))s<a&&0>l(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<a&&0>l(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function l(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(v=!1,w(e),!m)if(null!==r(s))m=!0,z(k);else{var t=r(c);null!==t&&O(x,t.startTime-e)}}function k(e,n){m=!1,v&&(v=!1,y(E),E=-1),h=!0;var l=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!j());){var o=d.callback;if("function"===typeof o){d.callback=null,p=d.priorityLevel;var i=o(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof i?d.callback=i:d===r(s)&&a(s),w(n)}else a(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&O(x,f.startTime-n),u=!1}return u}finally{d=null,p=l,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _,S=!1,C=null,E=-1,N=5,L=-1;function j(){return!(t.unstable_now()-L<N)}function P(){if(null!==C){var e=t.unstable_now();L=e;var n=!0;try{n=C(!0,e)}finally{n?_():(S=!1,C=null)}}else S=!1}if("function"===typeof b)_=function(){b(P)};else if("undefined"!==typeof MessageChannel){var M=new MessageChannel,T=M.port2;M.port1.onmessage=P,_=function(){T.postMessage(null)}}else _=function(){g(P,0)};function z(e){C=e,S||(S=!0,_())}function O(e,n){E=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,z(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,l){var o=t.unstable_now();switch("object"===typeof l&&null!==l?l="number"===typeof(l=l.delay)&&0<l?o+l:o:l=o,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:l,expirationTime:i=l+i,sortIndex:-1},l>o?(e.sortIndex=l,n(c,e),null===r(s)&&e===r(c)&&(v?(y(E),E=-1):v=!0,O(x,l-o))):(e.sortIndex=i,n(s,e),m||h||(m=!0,z(k))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},853:(e,t,n)=>{e.exports=n(234)},895:(e,t,n)=>{var r=n(43);var a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},l=r.useSyncExternalStore,o=r.useRef,i=r.useEffect,u=r.useMemo,s=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var f=o(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=u((function(){function e(e){if(!i){if(i=!0,l=e,e=r(e),void 0!==c&&d.hasValue){var t=d.value;if(c(t,e))return o=t}return o=e}if(t=o,a(l,e))return t;var n=r(e);return void 0!==c&&c(t,n)?t:(l=e,o=n)}var l,o,i=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,c]);var p=l(e,f[0],f[1]);return i((function(){d.hasValue=!0,d.value=p}),[p]),s(p),p}},237:(e,t,n)=>{e.exports=n(895)}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,n),l.exports}(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"===typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"===typeof r.then)return r}var l=Object.create(null);n.r(l);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&a&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,n.d(l,o),l}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t=n(43),r=n.t(t,2),a=n(391),l=n(950),o=n.t(l,2);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(e||(e={}));const u="popstate";function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function c(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n,r){return void 0===n&&(n=null),i({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?h(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function p(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(t,n,r,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:o=!1}=a,c=l.history,h=e.Pop,m=null,v=g();function g(){return(c.state||{idx:null}).idx}function y(){h=e.Pop;let t=g(),n=null==t?null:t-v;v=t,m&&m({action:h,location:w.location,delta:n})}function b(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:p(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,c.replaceState(i({},c.state,{idx:v}),""));let w={get action(){return h},get location(){return t(l,c)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(u,y),m=e,()=>{l.removeEventListener(u,y),m=null}},createHref:e=>n(l,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(t,n){h=e.Push;let a=d(w.location,t,n);r&&r(a,t),v=g()+1;let i=f(a,v),u=w.createHref(a);try{c.pushState(i,"",u)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(u)}o&&m&&m({action:h,location:w.location,delta:1})},replace:function(t,n){h=e.Replace;let a=d(w.location,t,n);r&&r(a,t),v=g();let l=f(a,v),i=w.createHref(a);c.replaceState(l,"",i),o&&m&&m({action:h,location:w.location,delta:0})},go:e=>c.go(e)};return w}var v;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(v||(v={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,n){void 0===n&&(n="/");let r=M(("string"===typeof t?h(t):t).pathname||"/",n);if(null==r)return null;let a=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let l=null;for(let o=0;null==l&&o<a.length;++o){let e=P(r);l=L(a[o],e)}return l}function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,l)=>{let o={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(s(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let i=D([r,o.relativePath]),u=n.concat(o);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),y(e.children,t,u,i)),(null!=e.path||e.index)&&t.push({path:i,score:N(i,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of b(e.path))a(e,t,r);else a(e,t)})),t}function b(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(0===r.length)return a?[l,""]:[l];let o=b(r.join("/")),i=[];return i.push(...o.map((e=>""===e?l:[l,e].join("/")))),a&&i.push(...o),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const w=/^:[\w-]+$/,x=3,k=2,_=1,S=10,C=-2,E=e=>"*"===e;function N(e,t){let n=e.split("/"),r=n.length;return n.some(E)&&(r+=C),t&&(r+=k),n.filter((e=>!E(e))).reduce(((e,t)=>e+(w.test(t)?x:""===t?_:S)),r)}function L(e,t){let{routesMeta:n}=e,r={},a="/",l=[];for(let o=0;o<n.length;++o){let e=n[o],i=o===n.length-1,u="/"===a?t:t.slice(a.length)||"/",s=j({path:e.relativePath,caseSensitive:e.caseSensitive,end:i},u);if(!s)return null;Object.assign(r,s.params);let c=e.route;l.push({params:r,pathname:D([a,s.pathname]),pathnameBase:F(D([a,s.pathnameBase])),route:c}),"/"!==s.pathnameBase&&(a=D([a,s.pathnameBase]))}return l}function j(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);c("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let l=new RegExp(a,t?void 0:"i");return[l,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],o=l.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=i[n]||"";o=l.slice(0,l.length-e.length).replace(/(.)\/+$/,"$1")}const u=i[n];return e[r]=a&&!u?void 0:(u||"").replace(/%2F/g,"/"),e}),{}),pathname:l,pathnameBase:o,pattern:e}}function P(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function T(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function z(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function O(e,t){let n=z(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function R(e,t,n,r){let a;void 0===r&&(r=!1),"string"===typeof e?a=h(e):(a=i({},e),s(!a.pathname||!a.pathname.includes("?"),T("?","pathname","search",a)),s(!a.pathname||!a.pathname.includes("#"),T("#","pathname","hash",a)),s(!a.search||!a.search.includes("#"),T("#","search","hash",a)));let l,o=""===e||""===a.pathname,u=o?"/":a.pathname;if(null==u)l=n;else{let e=t.length-1;if(!r&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}l=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"===typeof e?h(e):e,l=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:l,search:I(r),hash:U(a)}}(a,l),f=u&&"/"!==u&&u.endsWith("/"),d=(o||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}const D=e=>e.join("/").replace(/\/\/+/g,"/"),F=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),I=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function A(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const V=["post","put","patch","delete"],B=(new Set(V),["get",...V]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}const $=t.createContext(null);const W=t.createContext(null);const Q=t.createContext(null);const Z=t.createContext(null);const K=t.createContext({outlet:null,matches:[],isDataRoute:!1});const q=t.createContext(null);function Y(){return null!=t.useContext(Z)}function G(){return Y()||s(!1),t.useContext(Z).location}function J(e){t.useContext(Q).static||t.useLayoutEffect(e)}function X(){let{isDataRoute:e}=t.useContext(K);return e?function(){let{router:e}=ce(ue.UseNavigateStable),n=de(se.UseNavigateStable),r=t.useRef(!1);return J((()=>{r.current=!0})),t.useCallback((function(t,a){void 0===a&&(a={}),r.current&&("number"===typeof t?e.navigate(t):e.navigate(t,H({fromRouteId:n},a)))}),[e,n])}():function(){Y()||s(!1);let e=t.useContext($),{basename:n,future:r,navigator:a}=t.useContext(Q),{matches:l}=t.useContext(K),{pathname:o}=G(),i=JSON.stringify(O(l,r.v7_relativeSplatPath)),u=t.useRef(!1);return J((()=>{u.current=!0})),t.useCallback((function(t,r){if(void 0===r&&(r={}),!u.current)return;if("number"===typeof t)return void a.go(t);let l=R(t,JSON.parse(i),o,"path"===r.relative);null==e&&"/"!==n&&(l.pathname="/"===l.pathname?n:D([n,l.pathname])),(r.replace?a.replace:a.push)(l,r.state,r)}),[n,a,i,o,e])}()}const ee=t.createContext(null);function te(e,n){let{relative:r}=void 0===n?{}:n,{future:a}=t.useContext(Q),{matches:l}=t.useContext(K),{pathname:o}=G(),i=JSON.stringify(O(l,a.v7_relativeSplatPath));return t.useMemo((()=>R(e,JSON.parse(i),o,"path"===r)),[e,i,o,r])}function ne(n,r,a,l){Y()||s(!1);let{navigator:o}=t.useContext(Q),{matches:i}=t.useContext(K),u=i[i.length-1],c=u?u.params:{},f=(u&&u.pathname,u?u.pathnameBase:"/");u&&u.route;let d,p=G();if(r){var m;let e="string"===typeof r?h(r):r;"/"===f||(null==(m=e.pathname)?void 0:m.startsWith(f))||s(!1),d=e}else d=p;let v=d.pathname||"/",y=v;if("/"!==f){let e=f.replace(/^\//,"").split("/");y="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=g(n,{pathname:y});let w=ie(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:D([f,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:D([f,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,a,l);return r&&w?t.createElement(Z.Provider,{value:{location:H({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:e.Pop}},w):w}function re(){let e=function(){var e;let n=t.useContext(q),r=fe(se.UseRouteError),a=de(se.UseRouteError);if(void 0!==n)return n;return null==(e=r.errors)?void 0:e[a]}(),n=A(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:a};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),r?t.createElement("pre",{style:l},r):null,null)}const ae=t.createElement(re,null);class le extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?t.createElement(K.Provider,{value:this.props.routeContext},t.createElement(q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function oe(e){let{routeContext:n,match:r,children:a}=e,l=t.useContext($);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(K.Provider,{value:n},a)}function ie(e,n,r,a){var l;if(void 0===n&&(n=[]),void 0===r&&(r=null),void 0===a&&(a=null),null==e){var o;if(null==(o=r)||!o.errors)return null;e=r.matches}let i=e,u=null==(l=r)?void 0:l.errors;if(null!=u){let e=i.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||s(!1),i=i.slice(0,Math.min(i.length,e+1))}let c=!1,f=-1;if(r&&a&&a.v7_partialHydration)for(let t=0;t<i.length;t++){let e=i[t];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(f=t),e.route.id){let{loaderData:t,errors:n}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!n||void 0===n[e.route.id]);if(e.route.lazy||a){c=!0,i=f>=0?i.slice(0,f+1):[i[0]];break}}}return i.reduceRight(((e,a,l)=>{let o,s=!1,d=null,p=null;var h;r&&(o=u&&a.route.id?u[a.route.id]:void 0,d=a.route.errorElement||ae,c&&(f<0&&0===l?(h="route-fallback",!1||pe[h]||(pe[h]=!0),s=!0,p=null):f===l&&(s=!0,p=a.route.hydrateFallbackElement||null)));let m=n.concat(i.slice(0,l+1)),v=()=>{let n;return n=o?d:s?p:a.route.Component?t.createElement(a.route.Component,null):a.route.element?a.route.element:e,t.createElement(oe,{match:a,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:n})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===l)?t.createElement(le,{location:r.location,revalidation:r.revalidation,component:d,error:o,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}var ue=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ue||{}),se=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(se||{});function ce(e){let n=t.useContext($);return n||s(!1),n}function fe(e){let n=t.useContext(W);return n||s(!1),n}function de(e){let n=function(e){let n=t.useContext(K);return n||s(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||s(!1),r.route.id}const pe={};r.startTransition;function he(e){return function(e){let n=t.useContext(K).outlet;return n?t.createElement(ee.Provider,{value:e},n):n}(e.context)}function me(e){s(!1)}function ve(n){let{basename:r="/",children:a=null,location:l,navigationType:o=e.Pop,navigator:i,static:u=!1,future:c}=n;Y()&&s(!1);let f=r.replace(/^\/*/,"/"),d=t.useMemo((()=>({basename:f,navigator:i,static:u,future:H({v7_relativeSplatPath:!1},c)})),[f,c,i,u]);"string"===typeof l&&(l=h(l));let{pathname:p="/",search:m="",hash:v="",state:g=null,key:y="default"}=l,b=t.useMemo((()=>{let e=M(p,f);return null==e?null:{location:{pathname:e,search:m,hash:v,state:g,key:y},navigationType:o}}),[f,p,m,v,g,y,o]);return null==b?null:t.createElement(Q.Provider,{value:d},t.createElement(Z.Provider,{children:a,value:b}))}function ge(e){let{children:t,location:n}=e;return ne(ye(t),n)}new Promise((()=>{}));t.Component;function ye(e,n){void 0===n&&(n=[]);let r=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;let l=[...n,a];if(e.type===t.Fragment)return void r.push.apply(r,ye(e.props.children,l));e.type!==me&&s(!1),e.props.index&&e.props.children&&s(!1);let o={id:e.props.id||l.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ye(e.props.children,l)),r.push(o)})),r}function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be.apply(this,arguments)}function we(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const xe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];try{window.__reactRouterVersion="6"}catch(At){}new Map;const ke=r.startTransition;o.flushSync,r.useId;function _e(e){let{basename:n,children:r,future:a,window:l}=e,o=t.useRef();var i;null==o.current&&(o.current=(void 0===(i={window:l,v5Compat:!0})&&(i={}),m((function(e,t){let{pathname:n,search:r,hash:a}=e.location;return d("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:p(t)}),null,i)));let u=o.current,[s,c]=t.useState({action:u.action,location:u.location}),{v7_startTransition:f}=a||{},h=t.useCallback((e=>{f&&ke?ke((()=>c(e))):c(e)}),[c,f]);return t.useLayoutEffect((()=>u.listen(h)),[u,h]),t.createElement(ve,{basename:n,children:r,location:s.location,navigationType:s.action,navigator:u,future:a})}const Se="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,Ce=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ee=t.forwardRef((function(e,n){let r,{onClick:a,relative:l,reloadDocument:o,replace:i,state:u,target:c,to:f,preventScrollReset:d,unstable_viewTransition:h}=e,m=we(e,xe),{basename:v}=t.useContext(Q),g=!1;if("string"===typeof f&&Ce.test(f)&&(r=f,Se))try{let e=new URL(window.location.href),t=f.startsWith("//")?new URL(e.protocol+f):new URL(f),n=M(t.pathname,v);t.origin===e.origin&&null!=n?f=n+t.search+t.hash:g=!0}catch(At){}let y=function(e,n){let{relative:r}=void 0===n?{}:n;Y()||s(!1);let{basename:a,navigator:l}=t.useContext(Q),{hash:o,pathname:i,search:u}=te(e,{relative:r}),c=i;return"/"!==a&&(c="/"===i?a:D([a,i])),l.createHref({pathname:c,search:u,hash:o})}(f,{relative:l}),b=function(e,n){let{target:r,replace:a,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=void 0===n?{}:n,s=X(),c=G(),f=te(e,{relative:i});return t.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();let n=void 0!==a?a:p(c)===p(f);s(e,{replace:n,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}}),[c,s,f,a,l,r,e,o,i,u])}(f,{replace:i,state:u,target:c,preventScrollReset:d,relative:l,unstable_viewTransition:h});return t.createElement("a",be({},m,{href:r||y,onClick:g||o?a:function(e){a&&a(e),e.defaultPrevented||b(e)},ref:n,target:c}))}));var Ne,Le;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ne||(Ne={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Le||(Le={}));var je=n(579);const Pe=()=>{const e=X();return(0,je.jsx)("div",{className:"MainPage",children:(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("main",{className:"main__content",children:[(0,je.jsx)("div",{className:"main__title",children:"\u0427\u0430\u0442-\u0431\u043e\u0442 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f"}),(0,je.jsxs)("div",{className:"main__text",children:["\u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 ",(0,je.jsx)("br",{}),"\u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c\u0438"]}),(0,je.jsx)("div",{className:"main__button",onClick:()=>e("/installation"),children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c"})]})})})},Me=()=>(0,je.jsxs)("svg",{width:"34",height:"38",viewBox:"0 0 34 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("path",{d:"M32.3334 36.25V32.4167C32.3334 30.3833 31.5257 28.4333 30.0879 26.9955C28.6501 25.5577 26.7001 24.75 24.6667 24.75H9.33341C7.30009 24.75 5.35004 25.5577 3.91226 26.9955C2.47448 28.4333 1.66675 30.3833 1.66675 32.4167V36.25",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,je.jsx)("path",{d:"M16.9999 17.0833C21.2341 17.0833 24.6666 13.6508 24.6666 9.41667C24.6666 5.18248 21.2341 1.75 16.9999 1.75C12.7657 1.75 9.33325 5.18248 9.33325 9.41667C9.33325 13.6508 12.7657 17.0833 16.9999 17.0833Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]});var Te=n(237),ze=t,Oe=Symbol.for("react-redux-context"),Re="undefined"!==typeof globalThis?globalThis:{};function De(){var e;if(!ze.createContext)return{};const t=null!==(e=Re[Oe])&&void 0!==e?e:Re[Oe]=new Map;let n=t.get(ze.createContext);return n||(n=ze.createContext(null),t.set(ze.createContext,n)),n}var Fe=De(),Ie=()=>{throw new Error("uSES not initialized!")};function Ue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe;return function(){return ze.useContext(e)}}var Ae=Ue(),Ve=Ie,Be=(e,t)=>e===t;function He(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe;const t=e===Fe?Ae:Ue(e),n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{equalityFn:r=Be,devModeChecks:a={}}="function"===typeof n?{equalityFn:n}:n;const{store:l,subscription:o,getServerState:i,stabilityCheck:u,identityFunctionCheck:s}=t(),c=(ze.useRef(!0),ze.useCallback({[e.name]:t=>e(t)}[e.name],[e,u,a.stabilityCheck])),f=Ve(o.addNestedSub,l.getState,i||l.getState,c,r);return ze.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var $e=He();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");function We(e){e()}var Qe={notify(){},get:()=>[]};function Ze(e,t){let n,r=Qe,a=0,l=!1;function o(){s.onStateChange&&s.onStateChange()}function i(){a++,n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){We((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const a=t={callback:n,next:null,prev:t};return a.prev?a.prev.next=a:e=a,function(){r&&null!==e&&(r=!1,a.next?a.next.prev=a.prev:t=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}())}function u(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=Qe)}const s={addNestedSub:function(e){i();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),u())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return l},trySubscribe:function(){l||(l=!0,i())},tryUnsubscribe:function(){l&&(l=!1,u())},getListeners:()=>r};return s}var Ke=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),qe="undefined"!==typeof navigator&&"ReactNative"===navigator.product,Ye=Ke||qe?ze.useLayoutEffect:ze.useEffect;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var Ge=function(e){let{store:t,context:n,children:r,serverState:a,stabilityCheck:l="once",identityFunctionCheck:o="once"}=e;const i=ze.useMemo((()=>{const e=Ze(t);return{store:t,subscription:e,getServerState:a?()=>a:void 0,stabilityCheck:l,identityFunctionCheck:o}}),[t,a,l,o]),u=ze.useMemo((()=>t.getState()),[t]);Ye((()=>{const{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[i,u]);const s=n||Fe;return ze.createElement(s.Provider,{value:i},r)};function Je(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe;const t=e===Fe?Ae:Ue(e),n=()=>{const{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var Xe=Je();function et(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fe;const t=e===Fe?Xe:Je(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var tt,nt=et();tt=Te.useSyncExternalStoreWithSelector,Ve=tt,(e=>{e})(t.useSyncExternalStore);const rt=()=>(0,je.jsxs)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("circle",{cx:"7.97167",cy:"7.97167",r:"6.97167",stroke:"#00ADB5","stroke-width":"2","stroke-linejoin":"round"}),(0,je.jsx)("path",{d:"M19.2929 20.707C19.6834 21.0975 20.3166 21.0975 20.7071 20.707C21.0976 20.3165 21.0976 19.6833 20.7071 19.2928L19.2929 20.707ZM12.2469 13.661L19.2929 20.707L20.7071 19.2928L13.6611 12.2468L12.2469 13.661Z",fill:"#00ADB5"})]}),at=()=>(0,je.jsxs)("svg",{width:"38",height:"43",viewBox:"0 0 39 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("ellipse",{cx:"19.0876",cy:"31.6055",rx:"15",ry:"12",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("ellipse",{cx:"12.9473",cy:"30",rx:"2",ry:"3",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("ellipse",{cx:"25.3245",cy:"30",rx:"2",ry:"3",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("path",{opacity:"0.9",d:"M15.9934 37.6494L16.1075 37.7915C17.6441 39.7052 20.5881 39.6065 21.9932 37.5943V37.5943",stroke:"#393E46","stroke-width":"2","stroke-linecap":"round"}),(0,je.jsx)("path",{d:"M5 26.6143V26.6143C2.79086 26.6143 1 28.4051 1 30.6143V30.6143C1 32.8234 2.79086 34.6143 5 34.6143V34.6143",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("path",{d:"M33 26.6143V26.6143C35.2091 26.6143 37 28.4051 37 30.6143V30.6143C37 32.8234 35.2091 34.6143 33 34.6143V34.6143",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("line",{x1:"5",y1:"15",x2:"5",y2:"27",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("circle",{cx:"4.72363",cy:"13.5",r:"1.5",stroke:"#393E46","stroke-width":"2"}),(0,je.jsx)("path",{d:"M24.2207 0.690976L30.1934 0.814611C34.8086 0.910144 38.5 4.67877 38.5 9.2949V10.5166C38.5 14.5264 35.2494 17.777 31.2396 17.777H28.8842C28.1186 17.777 27.3867 18.092 26.8603 18.6479C25.0763 20.5323 22.8385 21.9184 20.3683 22.6779C20.5968 22.4933 20.8224 22.2977 21.0369 22.0924C21.9522 21.2168 22.8019 20.0373 22.6001 18.6928C22.508 18.0788 21.9462 17.777 21.4662 17.777H19.2918C17.1976 17.777 15.5 16.0794 15.5 13.9852V9.23307C15.5 4.44518 19.4339 0.591888 24.2207 0.690976Z",fill:"white",stroke:"#393E46"}),(0,je.jsx)("line",{x1:"29.35",y1:"14.65",x2:"34.65",y2:"14.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),(0,je.jsx)("line",{x1:"27.35",y1:"12.65",x2:"34.65",y2:"12.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),(0,je.jsx)("line",{x1:"19.35",y1:"10.65",x2:"34.65",y2:"10.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),(0,je.jsx)("line",{x1:"19.35",y1:"8.65",x2:"34.65",y2:"8.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),(0,je.jsx)("line",{x1:"19.35",y1:"6.65",x2:"34.65",y2:"6.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),(0,je.jsx)("line",{x1:"27.35",y1:"4.65",x2:"34.65",y2:"4.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"})]}),lt=()=>(0,je.jsx)("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,je.jsx)("path",{d:"M22.9834 7.59644L3.03322 0.824523C0.723783 0.0520304 -0.910708 3.05301 0.814919 4.71899L6.7472 10.4462L1.31257 16.6475C-0.26829 18.4514 1.61018 21.3062 3.84756 20.3438L23.1643 11.9343C24.8896 11.1015 24.772 8.28197 22.9834 7.59644Z",fill:"#00ADB5"})}),ot=async(e,t,n)=>await fetch("http://localhost:5001/api/messages/addUserMessage",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({from_hex:e,to_hex:t,message:n})}),it=async e=>await fetch("http://localhost:5001/api/messages/getUserDialogs",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({user_hex:e})}).then((e=>e.json())).then((e=>e)),ut=()=>(0,je.jsx)("svg",{width:"12",height:"19",viewBox:"0 0 12 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,je.jsx)("path",{d:"M10.4923 0.943536L1.94363 9.36499L10.3651 17.9136",stroke:"#00ADB5","stroke-width":"2"})}),st=()=>{const e=nt(),n=$e((e=>e.messages)),[r,a]=(0,t.useState)(1),[l,o]=(0,t.useState)([]),[i,u]=(0,t.useState)({}),[s,c]=(0,t.useState)(""),[f,d]=(0,t.useState)(""),p=l.filter((e=>e.message.toLowerCase().includes(f.toLowerCase()))),h=(0,t.useRef)(null),m=localStorage.getItem("operator_id");(0,t.useEffect)((()=>{it(m).then((e=>{o(e)})).catch((e=>{console.error(e)}));const e=setInterval((()=>{it(m).then((e=>{o(e)})).catch((e=>{console.error(e)}))}),5e3);return()=>{clearInterval(e)}}),[]),(0,t.useEffect)((()=>{(async(e,t)=>await fetch("http://localhost:5001/api/messages/getUsersMessages",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({users_hex:[e,t]})}).then((e=>e.json())).then((e=>e)))(m,i.from_hex).then((t=>{e({type:"RECEIVE_MESSAGES",payload:t})})).catch((e=>{console.error(e)}))}),[i,l]),(0,t.useEffect)((()=>{(()=>{var e;null===(e=h.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})})()}),[n]);return(0,je.jsx)("div",{className:"account",children:(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("div",{className:"account__content",children:[(0,je.jsxs)("div",{className:i.from_hex?"left__side unactive":"left__side",children:[(0,je.jsxs)("div",{className:"left__side__menu",children:[(0,je.jsxs)("div",{className:"left__side__menu__top",children:[(0,je.jsx)("div",{className:"burger-menu",children:(0,je.jsx)("span",{className:"burger"})}),(0,je.jsx)("input",{className:"search__dialogue",value:f,placeholder:"\u041f\u043e\u0438\u0441\u043a",onChange:e=>d(e.target.value)})]}),(0,je.jsxs)("div",{className:"left__side__menu__bottom",children:[(0,je.jsxs)("div",{className:1===r?"total__dialogues active":"total__dialogues",onClick:()=>a(1),children:[(0,je.jsx)("p",{children:"\u0412\u0441\u0435"}),(0,je.jsx)("span",{children:l.length})]}),(0,je.jsxs)("div",{className:2===r?"pending__dialogues active":"pending__dialogues",onClick:()=>a(2),children:[(0,je.jsx)("p",{children:"\u041e\u0436\u0438\u0434\u0430\u044e\u0442"}),(0,je.jsx)("span",{children:"2"})]})]})]}),(0,je.jsx)("div",{className:"dialogues",children:p.map((e=>(0,je.jsxs)("div",{className:e.from_hex===i.from_hex?"dialogue active":"dialogue",onClick:()=>u(e),children:[(0,je.jsx)("div",{className:"user__icon",children:(0,je.jsx)(Me,{})}),(0,je.jsxs)("div",{className:"name__last__msg",children:[(0,je.jsxs)("div",{className:e.from_hex===i.from_hex?"username active":"username",children:["#",e.from_hex]}),(0,je.jsx)("div",{className:e.from_hex===i.from_hex?"last__msg active":"last__msg",children:e.message})]})]},e.from_hex)))})]}),(0,je.jsxs)("div",{className:i.from_hex?"right__side active":"right__side",children:[(0,je.jsxs)("div",{className:"right__side__menu",children:[(0,je.jsx)("div",{className:"category__messages active",children:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f"}),(0,je.jsx)("div",{className:"category__report",children:"\u041e\u0442\u0447\u0435\u0442"}),(0,je.jsx)(rt,{})]}),(0,je.jsxs)("div",{className:"chat__block",children:[i.from_hex&&(0,je.jsxs)("div",{className:"user__info",children:[(0,je.jsx)("div",{className:"mobile__back__button",onClick:()=>u({}),children:(0,je.jsx)(ut,{})}),(0,je.jsx)("div",{className:"user__icon",children:(0,je.jsx)(Me,{})}),(0,je.jsxs)("div",{className:"name__with__status",children:[(0,je.jsxs)("div",{className:"username",children:["#",i.from_hex]}),(0,je.jsx)("div",{className:"status",children:"\u0431\u044b\u043b(\u0430) \u043d\u0435 \u0434\u0430\u0432\u043d\u043e"})]})]}),(0,je.jsx)("div",{className:"operator__msg__block",children:n.map(((e,t)=>(0,je.jsxs)(je.Fragment,{children:[e.from_hex===m?(0,je.jsxs)("div",{className:"operator__msg",children:[(0,je.jsx)("div",{className:"user__icon",children:(0,je.jsx)(at,{})}),(0,je.jsxs)("div",{children:[(0,je.jsx)("div",{className:"username__msg",children:"\u0412\u044b"}),(0,je.jsx)("div",{className:"msg",children:e.message})]})]}):(0,je.jsxs)("div",{className:"user__msg",children:[(0,je.jsx)("div",{className:"user__icon",children:(0,je.jsx)(Me,{})}),(0,je.jsxs)("div",{children:[(0,je.jsxs)("div",{className:"username__msg",children:["#",e.from_hex]}),(0,je.jsx)("div",{className:"msg",children:e.message})]})]}),(0,je.jsx)("div",{ref:h})]})))}),(0,je.jsxs)("div",{className:"right__side__bottom",children:[(0,je.jsx)("input",{value:s,className:"operator__msg__input",placeholder:"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435...",onKeyDown:t=>(t=>{13===t.keyCode&&""!==s&&(e({type:"ADD_MESSAGE",payload:{message:s,from_hex:m}}),ot(m,i.from_hex,s).catch((e=>{console.error(e)})),c(""))})(t),onChange:e=>c(e.target.value)}),(0,je.jsx)("button",{disabled:""===s,className:"send__msg",onClick:t=>{""!==s&&(e({type:"ADD_MESSAGE",payload:{message:s,from_hex:m}}),ot(m,i.from_hex,s).catch((e=>{console.error(e)})),c(""))},children:(0,je.jsx)(lt,{})})]})]})]})]})})})},ct=()=>(0,je.jsx)("div",{className:"installation",children:(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("div",{className:"installation__content",children:[(0,je.jsx)("div",{className:"installation__title",children:"\u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442:"}),(0,je.jsxs)("ol",{className:"installation__points",children:[(0,je.jsxs)("li",{className:"installation__point",children:["\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:"," ",(0,je.jsx)("span",{children:"npm i git+https://github.com/Kasa74/live-chat-lib.git"})]}),(0,je.jsxs)("li",{className:"installation__point",children:["\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:"," ",(0,je.jsx)("span",{children:'import { PopUp } from "live-chat-lib"'})]}),(0,je.jsxs)("li",{className:"installation__point",children:["\u041f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u043f\u0441\u044b ID \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430:"," ",(0,je.jsx)("span",{children:'<PopUp operator_id="ID \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430">'})]}),(0,je.jsx)("li",{className:"installation__point",children:"\u0412\u0441\u0435! \u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043f\u0430\u043f \u043e\u043a\u043e\u0448\u043a\u043e"})]})]})})}),ft=()=>{const e=function(){let{matches:e}=t.useContext(K),n=e[e.length-1];return n?n.params:{}}(),[n,r]=(0,t.useState)(!1);return(0,t.useEffect)((()=>{(async e=>await fetch("http://localhost:5001/api/user/confirm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operator_id:e})}))(e.id).then((e=>{if(!e.ok)throw new Error("\u041e\u0448\u0438\u0431\u043a\u0430, \u0433\u0440\u0443\u0441\u0442\u044c \u0431\u0435\u0434\u0430");r(!0)})).catch((e=>console.log(e)))}),[]),(0,je.jsx)("div",{className:"confirm",children:(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("div",{className:"confirm__content",children:[(0,je.jsx)("div",{className:"confirm__title",children:n?"Email \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d!":"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d"}),(0,je.jsx)("div",{className:"confirm__text",children:n?"\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0439\u0442\u0438 \u0432 \u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430":"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0439\u0442\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442"}),(0,je.jsx)("div",{className:"confirm__operator",children:n?(0,je.jsxs)(je.Fragment,{children:["\u0412\u0430\u0448 operator_id: ",(0,je.jsx)("span",{children:e.id})]}):(0,je.jsx)(je.Fragment,{})})]})})})},dt=[{path:"/",element:(0,je.jsx)(Pe,{})},{path:"/installation",element:(0,je.jsx)(ct,{})},{path:"/confirm/:id",element:(0,je.jsx)(ft,{})},{path:"*",element:(0,je.jsx)(Pe,{})}],pt=()=>(0,je.jsx)("svg",{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,je.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.27653 8.79919L15.3576 17.4222C15.3576 17.4222 14.3627 17.4265 13.741 17.4222L8.77147 9.69959L1.61655 17.4222L0 17.4222L7.95544 9.02585L0.808317 0H2.05185L8.4889 7.95789L16.9742 0L9.27653 8.79919Z",fill:"#393E46"})}),ht=e=>{let{modalActive:n,setModalActive:r}=e;const a=X(),[l,o]=(0,t.useState)(!1);return(0,je.jsx)("header",{className:"header",children:(0,je.jsx)("div",{className:"container",children:(0,je.jsxs)("div",{className:"header__row",children:[(0,je.jsxs)(Ee,{to:"/",className:"header__logo",children:[(0,je.jsx)(at,{}),(0,je.jsx)("div",{className:"header__logo__text",children:"\u0427\u0430\u0442-\u0431\u043e\u0442"})]}),(0,je.jsxs)("nav",{className:"header__nav",children:[(0,je.jsx)("div",{className:l?"blur active":"blur",onClick:()=>o(!1)}),(0,je.jsx)("div",{className:"nav__burger-menu",onClick:()=>o(!0),children:(0,je.jsx)("span",{className:"nav__burger"})}),(0,je.jsxs)("ul",{className:l?"nav__menu active":"nav__menu",children:[(0,je.jsx)("div",{className:"nav__burger__close",onClick:()=>o(!1),children:(0,je.jsx)(pt,{})}),(0,je.jsx)("li",{onClick:()=>{a("/installation"),o(!1)},children:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"}),(0,je.jsx)("li",{onClick:()=>{o(!1)},children:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a"}),(0,je.jsx)("li",{onClick:()=>{o(!1),r(!0)},children:"\u041b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442"})]})]})]})})})};function mt(e,t,n,r){return new(n||(n=Promise))((function(a,l){function o(e){try{u(r.next(e))}catch(e){l(e)}}function i(e){try{u(r.throw(e))}catch(e){l(e)}}function u(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,i)}u((r=r.apply(e,t||[])).next())}))}function vt(e,t){var n,r,a,l,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function i(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,i[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],r=0}finally{n=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function gt(e,t,n){if(n||2===arguments.length)for(var r,a=0,l=t.length;a<l;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var yt=function(){return t.createElement("svg",{width:"38",height:"43",viewBox:"0 0 39 45",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("ellipse",{cx:"19.0876",cy:"31.6055",rx:"15",ry:"12",stroke:"#393E46","stroke-width":"2"}),t.createElement("ellipse",{cx:"12.9473",cy:"30",rx:"2",ry:"3",stroke:"#393E46","stroke-width":"2"}),t.createElement("ellipse",{cx:"25.3245",cy:"30",rx:"2",ry:"3",stroke:"#393E46","stroke-width":"2"}),t.createElement("path",{opacity:"0.9",d:"M15.9934 37.6494L16.1075 37.7915C17.6441 39.7052 20.5881 39.6065 21.9932 37.5943V37.5943",stroke:"#393E46","stroke-width":"2","stroke-linecap":"round"}),t.createElement("path",{d:"M5 26.6143V26.6143C2.79086 26.6143 1 28.4051 1 30.6143V30.6143C1 32.8234 2.79086 34.6143 5 34.6143V34.6143",stroke:"#393E46","stroke-width":"2"}),t.createElement("path",{d:"M33 26.6143V26.6143C35.2091 26.6143 37 28.4051 37 30.6143V30.6143C37 32.8234 35.2091 34.6143 33 34.6143V34.6143",stroke:"#393E46","stroke-width":"2"}),t.createElement("line",{x1:"5",y1:"15",x2:"5",y2:"27",stroke:"#393E46","stroke-width":"2"}),t.createElement("circle",{cx:"4.72363",cy:"13.5",r:"1.5",stroke:"#393E46","stroke-width":"2"}),t.createElement("path",{d:"M24.2207 0.690976L30.1934 0.814611C34.8086 0.910144 38.5 4.67877 38.5 9.2949V10.5166C38.5 14.5264 35.2494 17.777 31.2396 17.777H28.8842C28.1186 17.777 27.3867 18.092 26.8603 18.6479C25.0763 20.5323 22.8385 21.9184 20.3683 22.6779C20.5968 22.4933 20.8224 22.2977 21.0369 22.0924C21.9522 21.2168 22.8019 20.0373 22.6001 18.6928C22.508 18.0788 21.9462 17.777 21.4662 17.777H19.2918C17.1976 17.777 15.5 16.0794 15.5 13.9852V9.23307C15.5 4.44518 19.4339 0.591888 24.2207 0.690976Z",fill:"white",stroke:"#393E46"}),t.createElement("line",{x1:"29.35",y1:"14.65",x2:"34.65",y2:"14.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),t.createElement("line",{x1:"27.35",y1:"12.65",x2:"34.65",y2:"12.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),t.createElement("line",{x1:"19.35",y1:"10.65",x2:"34.65",y2:"10.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),t.createElement("line",{x1:"19.35",y1:"8.65",x2:"34.65",y2:"8.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),t.createElement("line",{x1:"19.35",y1:"6.65",x2:"34.65",y2:"6.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}),t.createElement("line",{x1:"27.35",y1:"4.65",x2:"34.65",y2:"4.65",stroke:"#00ADB5","stroke-width":"0.7","stroke-linecap":"round"}))};function bt(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}bt('/* Reset and base styles  */\r\n* {\r\n    padding: 0px;\r\n    margin: 0px;\r\n    border: none;\r\n  }\r\n  \r\n  *,\r\n  *::before,\r\n  *::after {\r\n    box-sizing: border-box;\r\n  }\r\n  \r\n  /* Links */\r\n  \r\n  a,\r\n  a:link,\r\n  a:visited {\r\n    text-decoration: none;\r\n  }\r\n  \r\n  a:hover {\r\n    text-decoration: none;\r\n  }\r\n  \r\n  /* Common */\r\n  \r\n  aside,\r\n  nav,\r\n  footer,\r\n  header,\r\n  section,\r\n  main {\r\n    display: block;\r\n  }\r\n  \r\n  h1,\r\n  h2,\r\n  h3,\r\n  h4,\r\n  h5,\r\n  h6,\r\n  p {\r\n    font-size: inherit;\r\n    font-weight: inherit;\r\n  }\r\n  \r\n  ul,\r\n  ul li {\r\n    list-style: none;\r\n  }\r\n  \r\n  img {\r\n    vertical-align: top;\r\n  }\r\n  \r\n  img,\r\n  svg {\r\n    max-width: 100%;\r\n    height: auto;\r\n  }\r\n  \r\n  address {\r\n    font-style: normal;\r\n  }\r\n  \r\n  /* Form */\r\n  \r\n  input,\r\n  textarea,\r\n  button,\r\n  select {\r\n    font-family: inherit;\r\n    font-size: inherit;\r\n    color: inherit;\r\n    background-color: transparent;\r\n  }\r\n  \r\n  input::-ms-clear {\r\n    display: none;\r\n  }\r\n  \r\n  button,\r\n  input[type="submit"] {\r\n    display: inline-block;\r\n    box-shadow: none;\r\n    background-color: transparent;\r\n    background: none;\r\n    cursor: pointer;\r\n  }\r\n  \r\n  input:focus,\r\n  input:active,\r\n  button:focus,\r\n  button:active {\r\n    outline: none;\r\n  }\r\n  \r\n  button::-moz-focus-inner {\r\n    padding: 0;\r\n    border: 0;\r\n  }\r\n  \r\n  label {\r\n    cursor: pointer;\r\n  }\r\n  \r\n  legend {\r\n    display: block;\r\n  }\r\n  '),bt('@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");\r\n.popup {\r\n  position: fixed;\r\n  right: 20px;\r\n  bottom: 0;\r\n}\r\n.popup__container {\r\n  width: 355px;\r\n}\r\n\r\n.popup__header {\r\n  width: 100%;\r\n  height: 83px;\r\n  background-color: #eeeeee;\r\n  display: flex;\r\n  position: relative;\r\n  justify-content: center;\r\n  align-items: center;\r\n  cursor: pointer;\r\n}\r\n\r\n.operator__info {\r\n  margin-left: 11px;\r\n  display: flex;\r\n  flex-direction: column;\r\n  align-items: center;\r\n}\r\n\r\n.operator__info__name {\r\n  font-family: "Open Sans";\r\n  font-weight: 600;\r\n  font-size: 20px;\r\n  color: #393e46;\r\n}\r\n\r\n.operator__info__status {\r\n  font-family: "Open Sans";\r\n  font-weight: 400;\r\n  font-size: 16px;\r\n  color: #00adb5;\r\n}\r\n\r\n.popup__close__button {\r\n  position: absolute;\r\n  right: 17px;\r\n  top: 9px;\r\n  cursor: pointer;\r\n  transition: all 0.3s ease;\r\n}\r\n\r\n.popup__close__button:hover {\r\n  transform: scale(1.2);\r\n  filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg)\r\n    brightness(95%) contrast(80%);\r\n}\r\n/* chat  */\r\n\r\n.chat {\r\n  height: 0;\r\n  transition: all 0.3s ease;\r\n}\r\n\r\n.chat__active {\r\n  width: 100%;\r\n  height: 524px;\r\n  border: 1px solid #eeeeee;\r\n  transition: all 0.3s ease;\r\n  background-color: #fff;\r\n}\r\n\r\n.scrollbar {\r\n  overflow-y: scroll;\r\n  overflow-x: hidden;\r\n  height: 451px;\r\n}\r\n\r\n.scrollbar::-webkit-scrollbar {\r\n  width: 5px;\r\n  height: 10px;\r\n  border-radius: 20px;\r\n}\r\n\r\n.scrollbar::-webkit-scrollbar-thumb {\r\n  background: #888888;\r\n  border-radius: 20px;\r\n}\r\n\r\n.msg__block {\r\n  display: flex;\r\n  flex-direction: column;\r\n\r\n  margin: 30px 25px 0px 25px;\r\n}\r\n\r\n/* msg user and operator */\r\n.chat__operator__msg {\r\n  display: inline-flex;\r\n  align-self: flex-start;\r\n  background-color: #eeeeee;\r\n  padding: 11px 17px;\r\n  border-radius: 0px 15px 15px 15px;\r\n  font-family: "Open Sans";\r\n  font-weight: 400;\r\n  font-size: 14px;\r\n  color: #000000;\r\n  margin-bottom: 20px;\r\n  word-break: break-all;\r\n}\r\n\r\n.chat__user__msg {\r\n  display: inline-flex;\r\n  align-self: flex-end;\r\n  background-color: #00adb5;\r\n  padding: 11px 17px;\r\n  border-radius: 15px 0px 15px 15px;\r\n  font-family: "Open Sans";\r\n  font-weight: 400;\r\n  font-size: 14px;\r\n  color: #fff;\r\n  margin-bottom: 20px;\r\n  word-break: break-all;\r\n}\r\n\r\n/* send message */\r\n\r\n.send__message__block {\r\n  border-top: 1px solid #eeeeee;\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: space-between;\r\n  height: 73px;\r\n  padding: 0px 17px;\r\n}\r\n\r\n.input__msg {\r\n  font-family: "Open Sans";\r\n  font-weight: 400;\r\n  font-size: 14;\r\n  border: none;\r\n  color: #393e46;\r\n  outline: none;\r\n}\r\n\r\n.input__msg::placeholder {\r\n  font-family: "Open Sans";\r\n  font-weight: 400;\r\n  font-size: 14;\r\n  color: #b9b9b9;\r\n}\r\n\r\n.send__msg {\r\n  outline: none;\r\n}\r\n\r\n.send__msg:active {\r\n  transition: all 0.3s ease;\r\n  transform: scale(0.8);\r\n  outline: none;\r\n}\r\n');var wt=function(){return t.createElement("svg",{width:"25",height:"21",viewBox:"0 0 25 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M22.9834 7.59644L3.03322 0.824523C0.723783 0.0520304 -0.910708 3.05301 0.814919 4.71899L6.7472 10.4462L1.31257 16.6475C-0.26829 18.4514 1.61018 21.3062 3.84756 20.3438L23.1643 11.9343C24.8896 11.1015 24.772 8.28197 22.9834 7.59644Z",fill:"#00ADB5"}))},xt=function(){return t.createElement("svg",{width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.27653 8.79919L15.3576 17.4222C15.3576 17.4222 14.3627 17.4265 13.741 17.4222L8.77147 9.69959L1.61655 17.4222L0 17.4222L7.95544 9.02585L0.808317 0H2.05185L8.4889 7.95789L16.9742 0L9.27653 8.79919Z",fill:"#393E46"}))},kt=function(e,t){return mt(void 0,void 0,void 0,(function(){return vt(this,(function(n){switch(n.label){case 0:return[4,fetch("http://localhost:5001/api/messages/getUsersMessages",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({users_hex:[e,t]})}).then((function(e){return e.json()})).then((function(e){return e}))];case 1:return[2,n.sent()]}}))}))},_t=function(e,t,n){return mt(void 0,void 0,void 0,(function(){return vt(this,(function(r){switch(r.label){case 0:return[4,fetch("http://localhost:5001/api/messages/addUserMessage",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({from_hex:e,to_hex:t,message:n})})];case 1:return[2,r.sent()]}}))}))},St=function(e){var n=e.operator_id,r=(0,t.useState)(!1),a=r[0],l=r[1],o=(0,t.useState)([]),i=o[0],u=o[1],s=(0,t.useState)(""),c=s[0],f=s[1],d=(0,t.useRef)(null);!function(){var e="";if(!localStorage.getItem("UserID")){for(var t=0;t<16;t++)e+="0123456789ABCDEF".charAt(Math.floor(16*Math.random()));localStorage.setItem("UserID",e)}}(),(0,t.useEffect)((function(){kt(n,p).then((function(e){u(e)})).catch((function(e){console.error(e)}));var e=setInterval((function(){kt(n,p).then((function(e){u(e)})).catch((function(e){console.error(e)}))}),5e3);return function(){clearInterval(e)}}),[]),(0,t.useEffect)((function(){!function(){var e;null===(e=d.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})}()}),[i]);var p=String(localStorage.getItem("UserID"));return t.createElement("div",{className:"popup"},t.createElement("div",{className:"popup__container"},t.createElement("div",{onClick:function(){return l(!a)},className:"popup__header"},t.createElement(yt,null),t.createElement("div",{className:"operator__info"},t.createElement("div",{className:"operator__info__name"},"\u041a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u043d\u0442"),t.createElement("div",{className:"operator__info__status"},"\u041e\u043d\u043b\u0430\u0439\u043d")),a&&t.createElement("div",{className:"popup__close__button"},t.createElement(xt,null))),t.createElement("div",{className:a?"chat__active":"chat"},t.createElement("div",{className:"chat__container"},t.createElement("div",{className:"scrollbar"},t.createElement("div",{className:"msg__block"},t.createElement("div",{className:"chat__operator__msg"},"\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435! \u041e\u0442\u0434\u0435\u043b \u043f\u0440\u043e\u0434\u0430\u0436 \u043d\u0430 \u0441\u0432\u044f\u0437\u0438. \u0421 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u0432\u0435\u0447\u0443 \u043d\u0430 \u0412\u0430\u0448\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b."),i.map((function(e,r){return t.createElement("div",{key:r,className:e.from_hex!==n?"chat__user__msg":"chat__operator__msg"},e.message)})),t.createElement("div",{ref:d}))),t.createElement("div",{className:"send__message__block"},t.createElement("input",{value:c,className:"input__msg",placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435",onKeyDown:function(e){return function(e){13===e.keyCode&&""!==c&&(u(gt(gt([],i),[{message:c}])),_t(p,n,c).catch((function(e){console.error(e)})),f(""))}(e)},onChange:function(e){return f(e.target.value)}}),c&&t.createElement("button",{onClick:function(){return mt(void 0,void 0,void 0,(function(){return vt(this,(function(e){return""!==c&&(u(gt(gt([],i),[{message:c}])),_t(p,n,c).catch((function(e){console.error(e)})),f("")),[2]}))}))},className:"send__msg"},t.createElement(wt,null)))))))};const Ct=()=>(0,je.jsxs)("svg",{width:"48",height:"30",viewBox:"0 0 38 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("rect",{width:"37.6601",height:"20",fill:"#393E46"}),(0,je.jsx)("path",{d:"M20.6824 10.0625L20.9696 8.43371H19.1739V7.37674C19.1739 6.93113 19.4248 6.49678 20.229 6.49678H21.0453V5.11004C21.0453 5.11004 20.3045 5 19.5962 5C18.1175 5 17.1509 5.78012 17.1509 7.19234V8.43371H15.5071V10.0625H17.1509V14H19.1739V10.0625H20.6824Z",fill:"white"})]}),Et=()=>(0,je.jsxs)("svg",{width:"48",height:"30",viewBox:"0 0 39 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("rect",{x:"0.694092",width:"37.6601",height:"20",fill:"#393E46"}),(0,je.jsx)("path",{d:"M23.9547 9.60524C23.9547 12.1728 21.9752 14 19.052 14C16.2493 14 13.9858 11.9895 13.9858 9.5C13.9858 7.01048 16.2493 5 19.052 5C20.4166 5 21.5646 5.44456 22.4491 6.17762L21.0703 7.35524C19.2665 5.80927 15.9122 6.97056 15.9122 9.5C15.9122 11.0696 17.3238 12.3415 19.052 12.3415C21.058 12.3415 21.8097 11.0641 21.9282 10.4018H19.052V8.85403H23.875C23.922 9.08448 23.9547 9.30585 23.9547 9.60524Z",fill:"white"})]}),Nt=()=>(0,je.jsxs)("svg",{width:"48",height:"30",viewBox:"0 0 38 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("rect",{width:"37.6601",height:"20",fill:"#393E46"}),(0,je.jsx)("mask",{id:"path-2-inside-1_4541_79",fill:"white",children:(0,je.jsx)("path",{d:"M21.3129 11.5214C20.7216 11.8611 19.9081 11.9959 19.3707 12.0466L19.8217 12.4489L21.4682 13.9386C22.0703 14.497 21.0906 15.3698 20.4821 14.8309C20.0699 14.4521 19.4657 13.9054 18.8356 13.3353L17.1891 14.829C16.5805 15.3659 15.6008 14.4853 16.2094 13.9367C16.628 13.5579 17.2257 13.0112 17.8559 12.4469L18.3004 12.0447C17.7695 11.9939 16.943 11.867 16.3453 11.5195C15.6418 11.1094 15.3332 10.8693 15.6051 10.3675C15.7648 10.0824 16.2029 9.84224 16.7834 10.2562C16.7834 10.2562 17.5667 10.8205 18.8312 10.8205C20.0958 10.8205 20.8791 10.2562 20.8791 10.2562C21.4596 9.8442 21.8955 10.0824 22.0574 10.3675C22.3249 10.8693 22.0164 11.1094 21.3129 11.5214ZM16.0302 7.53241C16.0302 6.13246 17.2883 5 18.8291 5C20.3699 5 21.6279 6.13246 21.6279 7.53241C21.6279 8.92651 20.3699 10.059 18.8291 10.059C17.2883 10.059 16.0302 8.92651 16.0302 7.53241ZM17.4545 7.53241C17.4545 8.21775 18.0717 8.77617 18.8291 8.77617C19.5865 8.77617 20.2037 8.21775 20.2037 7.53241C20.2037 6.84122 19.5865 6.2828 18.8291 6.2828C18.0717 6.2828 17.4545 6.84122 17.4545 7.53241Z"})}),(0,je.jsx)("path",{d:"M21.3129 11.5214C20.7216 11.8611 19.9081 11.9959 19.3707 12.0466L19.8217 12.4489L21.4682 13.9386C22.0703 14.497 21.0906 15.3698 20.4821 14.8309C20.0699 14.4521 19.4657 13.9054 18.8356 13.3353L17.1891 14.829C16.5805 15.3659 15.6008 14.4853 16.2094 13.9367C16.628 13.5579 17.2257 13.0112 17.8559 12.4469L18.3004 12.0447C17.7695 11.9939 16.943 11.867 16.3453 11.5195C15.6418 11.1094 15.3332 10.8693 15.6051 10.3675C15.7648 10.0824 16.2029 9.84224 16.7834 10.2562C16.7834 10.2562 17.5667 10.8205 18.8312 10.8205C20.0958 10.8205 20.8791 10.2562 20.8791 10.2562C21.4596 9.8442 21.8955 10.0824 22.0574 10.3675C22.3249 10.8693 22.0164 11.1094 21.3129 11.5214ZM16.0302 7.53241C16.0302 6.13246 17.2883 5 18.8291 5C20.3699 5 21.6279 6.13246 21.6279 7.53241C21.6279 8.92651 20.3699 10.059 18.8291 10.059C17.2883 10.059 16.0302 8.92651 16.0302 7.53241ZM17.4545 7.53241C17.4545 8.21775 18.0717 8.77617 18.8291 8.77617C19.5865 8.77617 20.2037 8.21775 20.2037 7.53241C20.2037 6.84122 19.5865 6.2828 18.8291 6.2828C18.0717 6.2828 17.4545 6.84122 17.4545 7.53241Z",fill:"white"}),(0,je.jsx)("path",{d:"M21.3129 11.5214L22.3093 13.2555L22.3164 13.2514L22.3236 13.2472L21.3129 11.5214ZM19.3707 12.0466L19.1826 10.0555L14.6169 10.4869L18.0396 13.5393L19.3707 12.0466ZM19.8217 12.4489L21.1636 10.9658L21.1583 10.961L21.1529 10.9562L19.8217 12.4489ZM21.4682 13.9386L22.8283 12.4723L22.8193 12.4639L22.8101 12.4556L21.4682 13.9386ZM20.4821 14.8309L19.1287 16.3035L19.1423 16.316L19.1561 16.3282L20.4821 14.8309ZM18.8356 13.3353L20.1774 11.8523L18.8338 10.6365L17.4918 11.854L18.8356 13.3353ZM17.1891 14.829L18.5123 16.3287L18.5226 16.3195L18.5328 16.3103L17.1891 14.829ZM16.2094 13.9367L17.5486 15.4221L17.5512 15.4197L16.2094 13.9367ZM17.8559 12.4469L19.1901 13.9368L19.1977 13.9299L17.8559 12.4469ZM18.3004 12.0447L19.6423 13.5277L23.0046 10.4854L18.4908 10.0538L18.3004 12.0447ZM16.3453 11.5195L15.3382 13.2474L15.34 13.2484L16.3453 11.5195ZM15.6051 10.3675L13.8602 9.39003L13.8534 9.40229L13.8467 9.41465L15.6051 10.3675ZM16.7834 10.2562L17.9524 8.63336L17.9445 8.62778L16.7834 10.2562ZM20.8791 10.2562L19.7216 8.62515L19.7101 8.63338L20.8791 10.2562ZM22.0574 10.3675L23.8221 9.4264L23.8097 9.40305L23.7966 9.38003L22.0574 10.3675ZM20.3165 9.78728C20.2469 9.82728 20.0965 9.88973 19.8558 9.94738C19.6272 10.0021 19.3868 10.0362 19.1826 10.0555L19.5588 14.0378C20.1501 13.9819 21.3268 13.82 22.3093 13.2555L20.3165 9.78728ZM18.0396 13.5393L18.4906 13.9415L21.1529 10.9562L20.7019 10.554L18.0396 13.5393ZM18.4799 13.9319L20.1264 15.4217L22.8101 12.4556L21.1636 10.9658L18.4799 13.9319ZM20.1082 15.405C19.8255 15.1428 19.6088 14.6893 19.6657 14.171C19.7138 13.7332 19.9329 13.4518 20.093 13.3081C20.2594 13.1587 20.497 13.0319 20.8025 13.0051C21.1488 12.9746 21.525 13.083 21.808 13.3336L19.1561 16.3282C20.4356 17.4613 21.9976 16.9737 22.7653 16.2844C23.1711 15.9201 23.5603 15.3495 23.6418 14.6078C23.7321 13.7857 23.412 13.0137 22.8283 12.4723L20.1082 15.405ZM21.8354 13.3583C21.4161 12.973 20.805 12.4201 20.1774 11.8523L17.4937 14.8183C18.1264 15.3908 18.7237 15.9312 19.1287 16.3035L21.8354 13.3583ZM17.4918 11.854L15.8453 13.3477L18.5328 16.3103L20.1794 14.8166L17.4918 11.854ZM15.8658 13.3293C16.1526 13.0762 16.5324 12.9696 16.8789 13.0018C17.184 13.0302 17.42 13.1579 17.5847 13.3069C17.7425 13.4497 17.9632 13.7329 18.0093 14.1756C18.0643 14.7024 17.8386 15.1606 17.5486 15.4221L14.8701 12.4513C14.2758 12.9871 13.9444 13.7611 14.0309 14.5905C14.1086 15.3359 14.4982 15.9085 14.9009 16.273C15.6604 16.9601 17.2244 17.4651 18.5123 16.3287L15.8658 13.3293ZM17.5512 15.4197C17.9814 15.0305 18.5643 14.4972 19.1901 13.9368L16.5216 10.957C15.8872 11.5251 15.2746 12.0853 14.8675 12.4536L17.5512 15.4197ZM19.1977 13.9299L19.6423 13.5277L16.9585 10.5616L16.514 10.9639L19.1977 13.9299ZM18.4908 10.0538C18.2788 10.0335 18.0351 10.0002 17.8045 9.94616C17.5606 9.88899 17.4141 9.82742 17.3506 9.79046L15.34 13.2484C16.3425 13.8313 17.5513 13.9822 18.11 14.0356L18.4908 10.0538ZM17.3524 9.79153C17.1829 9.69273 17.099 9.63937 17.0547 9.60785C17.0017 9.57014 17.0942 9.62485 17.2069 9.77446C17.3472 9.96073 17.5001 10.2706 17.5069 10.6676C17.5129 11.0254 17.3956 11.2611 17.3636 11.3203L13.8467 9.41465C13.6787 9.7247 13.498 10.1786 13.5074 10.7354C13.5175 11.3313 13.7406 11.821 14.012 12.1813C14.4319 12.7386 15.0769 13.0951 15.3382 13.2474L17.3524 9.79153ZM17.35 11.3449C17.1808 11.6469 16.8777 11.9135 16.4614 12.004C15.9988 12.1046 15.687 11.9308 15.6222 11.8846L17.9445 8.62778C17.2993 8.16765 16.4782 7.90691 15.6115 8.09537C14.7911 8.27376 14.1891 8.80298 13.8602 9.39003L17.35 11.3449ZM16.7834 10.2562C15.6144 11.879 15.615 11.8794 15.6156 11.8799C15.6158 11.88 15.6164 11.8804 15.6168 11.8807C15.6177 11.8813 15.6185 11.882 15.6194 11.8826C15.6211 11.8838 15.6229 11.8851 15.6247 11.8864C15.6284 11.889 15.6323 11.8918 15.6364 11.8947C15.6447 11.9004 15.6538 11.9068 15.6638 11.9136C15.6838 11.9273 15.7074 11.943 15.7344 11.9605C15.7884 11.9953 15.8565 12.0373 15.9382 12.0837C16.1012 12.1762 16.321 12.2879 16.5925 12.3962C17.1349 12.6124 17.8991 12.8205 18.8312 12.8205V8.82045C18.4988 8.82045 18.2391 8.74641 18.0737 8.68047C17.9913 8.64764 17.9362 8.61831 17.9128 8.60502C17.9013 8.5985 17.8984 8.59637 17.9046 8.60038C17.9077 8.6024 17.9132 8.606 17.9211 8.61141C17.9251 8.61411 17.9297 8.61728 17.9349 8.62093C17.9375 8.62275 17.9402 8.6247 17.9431 8.62678C17.9446 8.62781 17.9461 8.62888 17.9476 8.62998C17.9484 8.63053 17.9492 8.63109 17.95 8.63166C17.9503 8.63194 17.9509 8.63237 17.9511 8.63251C17.9517 8.63295 17.9524 8.63338 16.7834 10.2562ZM18.8312 12.8205C19.7634 12.8205 20.5276 12.6124 21.07 12.3962C21.3415 12.2879 21.5613 12.1762 21.7243 12.0837C21.806 12.0373 21.8741 11.9953 21.9281 11.9605C21.9551 11.943 21.9787 11.9273 21.9987 11.9136C22.0087 11.9068 22.0178 11.9004 22.026 11.8947C22.0302 11.8918 22.0341 11.889 22.0377 11.8864C22.0396 11.8851 22.0414 11.8838 22.0431 11.8826C22.044 11.882 22.0448 11.8813 22.0457 11.8807C22.0461 11.8804 22.0467 11.88 22.0469 11.8799C22.0475 11.8794 22.0481 11.879 20.8791 10.2562C19.7101 8.63338 19.7107 8.63295 19.7113 8.63251C19.7115 8.63237 19.7121 8.63194 19.7125 8.63166C19.7133 8.63109 19.7141 8.63053 19.7149 8.62998C19.7164 8.62888 19.7179 8.62781 19.7194 8.62678C19.7223 8.6247 19.725 8.62275 19.7276 8.62093C19.7328 8.61728 19.7374 8.61411 19.7414 8.61141C19.7493 8.606 19.7548 8.6024 19.7579 8.60038C19.7641 8.59637 19.7612 8.5985 19.7497 8.60502C19.7263 8.61831 19.6712 8.64764 19.5888 8.68047C19.4234 8.74641 19.1637 8.82045 18.8312 8.82045V12.8205ZM22.0367 11.8872C21.9738 11.9318 21.6636 12.1051 21.202 12.0051C20.7851 11.9149 20.4851 11.649 20.3181 11.3549L23.7966 9.38003C23.4678 8.80083 22.8689 8.27337 22.0485 8.09573C21.1834 7.90841 20.3649 8.16861 19.7216 8.62519L22.0367 11.8872ZM20.2926 11.3085C20.2601 11.2476 20.1452 11.0116 20.1534 10.6555C20.1625 10.2617 20.3151 9.95572 20.4534 9.77263C20.5646 9.62539 20.6551 9.57185 20.6016 9.61009C20.5565 9.64226 20.472 9.69615 20.3022 9.79557L22.3236 13.2472C22.5855 13.0938 23.2267 12.7376 23.6451 12.1836C23.9151 11.8263 24.1387 11.3404 24.1523 10.7476C24.1651 10.1924 23.9884 9.73824 23.8221 9.4264L20.2926 11.3085ZM18.0302 7.53241C18.0302 7.4557 18.0605 7.34463 18.1926 7.22533C18.3281 7.10285 18.5487 7 18.8291 7V3C16.3798 3 14.0302 4.84152 14.0302 7.53241H18.0302ZM18.8291 7C19.1095 7 19.33 7.10285 19.4656 7.22533C19.5977 7.34463 19.6279 7.4557 19.6279 7.53241H23.6279C23.6279 4.84152 21.2783 3 18.8291 3V7ZM19.6279 7.53241C19.6279 7.60383 19.5997 7.71348 19.4668 7.83331C19.3307 7.95602 19.1096 8.05897 18.8291 8.05897V12.059C21.2752 12.059 23.6279 10.2203 23.6279 7.53241H19.6279ZM18.8291 8.05897C18.5486 8.05897 18.3274 7.95602 18.1914 7.83331C18.0585 7.71348 18.0302 7.60383 18.0302 7.53241H14.0302C14.0302 10.2203 16.383 12.059 18.8291 12.059V8.05897ZM15.4545 7.53241C15.4545 9.50585 17.16 10.7762 18.8291 10.7762V6.77617C18.9422 6.77617 19.0779 6.8181 19.1996 6.92825C19.3242 7.04098 19.4545 7.25138 19.4545 7.53241H15.4545ZM18.8291 10.7762C20.4982 10.7762 22.2037 9.50585 22.2037 7.53241H18.2037C18.2037 7.25138 18.334 7.04098 18.4586 6.92825C18.5803 6.8181 18.7159 6.77617 18.8291 6.77617V10.7762ZM22.2037 7.53241C22.2037 5.5589 20.5045 4.2828 18.8291 4.2828V8.2828C18.7157 8.2828 18.5789 8.24066 18.4562 8.12928C18.33 8.01474 18.2037 7.80572 18.2037 7.53241H22.2037ZM18.8291 4.2828C17.1536 4.2828 15.4545 5.5589 15.4545 7.53241H19.4545C19.4545 7.80572 19.3282 8.01474 19.202 8.12928C19.0793 8.24066 18.9424 8.2828 18.8291 8.2828V4.2828Z",fill:"white",mask:"url(#path-2-inside-1_4541_79)"})]}),Lt=()=>(0,je.jsxs)("svg",{width:"48",height:"30",viewBox:"0 0 38 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,je.jsx)("rect",{width:"37.6601",height:"20",fill:"#393E46"}),(0,je.jsx)("path",{d:"M24.0905 6.47469C24.1742 6.20125 24.0905 6 23.6879 6H22.3557C22.0164 6 21.8603 6.17281 21.7766 6.36531C21.7766 6.36531 21.0981 7.96437 20.1391 9.00125C19.8292 9.30094 19.6867 9.39719 19.517 9.39719C19.4334 9.39719 19.3044 9.30094 19.3044 9.0275V6.47469C19.3044 6.14656 19.2094 6 18.929 6H16.8345C16.6219 6 16.4952 6.15313 16.4952 6.29531C16.4952 6.60594 16.9747 6.67812 17.0245 7.55313V9.45187C17.0245 9.8675 16.9476 9.94406 16.7779 9.94406C16.3256 9.94406 15.2263 8.33844 14.5749 6.50094C14.4437 6.14438 14.3148 6 13.9732 6H12.641C12.261 6 12.1841 6.17281 12.1841 6.36531C12.1841 6.70656 12.6365 8.40188 14.2899 10.6419C15.3914 12.1709 16.943 13 18.3544 13C19.2026 13 19.3067 12.8162 19.3067 12.4991C19.3067 11.0378 19.2298 10.9 19.655 10.9C19.8518 10.9 20.1911 10.9963 20.9827 11.7334C21.8875 12.6084 22.0368 13 22.5434 13H23.8757C24.2557 13 24.4479 12.8162 24.3371 12.4531C24.0838 11.6897 22.3715 10.1191 22.2946 10.0141C22.0978 9.76906 22.1544 9.65969 22.2946 9.44094C22.2969 9.43875 23.9232 7.225 24.0905 6.47469Z",fill:"white"})]}),jt=e=>{let{modalActive:n,setModalActive:r}=e;const[a,l]=(0,t.useState)(""),[o,i]=(0,t.useState)(""),[u,s]=(0,t.useState)(!0),[c,f]=(0,t.useState)(!1),[d,p]=(0,t.useState)(""),h=X(),m=async e=>{if(e.preventDefault(),u)try{const e=await(async(e,t)=>await fetch("http://localhost:5001/api/user/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,password:t})}))(a,o);if(!e.ok){if(404===e.status){"user ne podtverzhden"===(await e.json()).message?p("\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u043d\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d!"):p("\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0438\u043b\u0438 \u043f\u043e\u0447\u0442\u0430!")}if(500===e.status)throw new Error("500, \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0430\u0443\u043d");throw new Error(String(e.status))}{const t=await e.json();localStorage.setItem("operator_id",t.operator_id),h("/account")}}catch(t){console.error(t)}else try{const e=await(async(e,t)=>await fetch("http://localhost:5001/api/user/registration",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,password:t})}))(a,o);if(!e.ok){if(404===e.status&&p("\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d"),500===e.status)throw new Error("500, \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u0430\u0443\u043d");throw new Error(String(e.status))}{const t=await e.json();localStorage.setItem("token",t.token),f(!0)}}catch(t){console.error(t)}};return(0,je.jsx)("div",{className:n?"modal active":"modal",onClick:()=>{r(!1),f(!1)},children:(0,je.jsxs)("div",{className:n?"modal__content active":"modal__content",onClick:e=>e.stopPropagation(),children:[(0,je.jsx)("div",{className:"modal__logo",children:(0,je.jsx)(at,{})}),(0,je.jsx)("div",{className:"modal__close",onClick:()=>{r(!1),f(!1)},children:(0,je.jsx)(pt,{})}),c?(0,je.jsxs)("div",{className:"success",children:[(0,je.jsx)("div",{className:"success__title",children:"\u0412\u044b \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u044b"}),(0,je.jsxs)("div",{className:"success__text",children:["\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u0441\u043b\u0443\u0433\u0430\u043c\u0438 \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u043f\u043e\u0447\u0442\u0443"," "]}),(0,je.jsx)("div",{className:"success__button",onClick:()=>{r(!1),f(!1)},children:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c"})]}):(0,je.jsxs)("form",{className:n?"modal__form active":"modal__form",children:[(0,je.jsx)("h1",{className:"modal__title",children:u?"\u0412\u043e\u0439\u0442\u0438":"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f"}),(0,je.jsxs)("div",{className:"change__form",children:[(0,je.jsx)("div",{className:"change__default__text",children:u?"\u041d\u043e\u0432\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c?":"\u0423\u0436\u0435 \u0435\u0441\u0442\u044c \u0430\u043a\u043a\u0430\u0443\u043d\u0442?"}),(0,je.jsx)("div",{children:(0,je.jsx)("div",{className:"change__color__text",onClick:()=>s(!u),children:u?"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c":"\u0412\u043e\u0439\u0442\u0438"})})]}),(0,je.jsxs)("div",{className:"login__via__social",children:[(0,je.jsx)("div",{className:"social",children:(0,je.jsx)(Ct,{})}),(0,je.jsx)("div",{className:"social",children:(0,je.jsx)(Lt,{})}),(0,je.jsx)("div",{className:"social",children:(0,je.jsx)(Nt,{})}),(0,je.jsx)("div",{className:"social",children:(0,je.jsx)(Et,{})})]}),(0,je.jsx)("div",{className:"separation__block",children:(0,je.jsx)("div",{className:"separation__title",children:"\u0438\u043b\u0438"})}),(0,je.jsxs)("div",{className:"form__inputs",children:[(0,je.jsx)("input",{value:a,className:"form__input",placeholder:"\u041f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441",onChange:e=>l(e.target.value)}),(0,je.jsx)("input",{value:o,className:"form__input",placeholder:"\u041f\u0430\u0440\u043e\u043b\u044c",onChange:e=>i(e.target.value)})]}),d&&(0,je.jsx)("div",{className:"error",children:d}),(0,je.jsx)("div",{className:"form__bottom",children:(0,je.jsx)("button",{className:"form__send",onClick:e=>m(e),children:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c"})})]})]})})},Pt=()=>{const[e,n]=(0,t.useState)(!1);return(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)(ht,{modalActive:e,setModalActive:n}),(0,je.jsx)(he,{}),(0,je.jsx)(St,{operator_id:"8580FD56CBE07935"}),(0,je.jsx)(jt,{modalActive:e,setModalActive:n})]})};const Mt=function(){let e=localStorage.getItem("token");return(0,je.jsx)(_e,{children:(0,je.jsxs)(ge,{children:[(0,je.jsx)(me,{element:(0,je.jsx)(Pt,{}),children:dt.map((e=>{let{path:t,element:n}=e;return(0,je.jsx)(me,{path:t,element:n})}))}),e&&(0,je.jsx)(me,{path:"/account",element:(0,je.jsx)(st,{})})]})})};function Tt(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var zt=(()=>"function"===typeof Symbol&&Symbol.observable||"@@observable")(),Ot=()=>Math.random().toString(36).substring(7).split("").join("."),Rt={INIT:"@@redux/INIT".concat(Ot()),REPLACE:"@@redux/REPLACE".concat(Ot()),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION".concat(Ot())};function Dt(e){if("object"!==typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function Ft(e,t,n){if("function"!==typeof e)throw new Error(Tt(2));if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(Tt(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(Tt(1));return n(Ft)(e,t)}let r=e,a=t,l=new Map,o=l,i=0,u=!1;function s(){o===l&&(o=new Map,l.forEach(((e,t)=>{o.set(t,e)})))}function c(){if(u)throw new Error(Tt(3));return a}function f(e){if("function"!==typeof e)throw new Error(Tt(4));if(u)throw new Error(Tt(5));let t=!0;s();const n=i++;return o.set(n,e),function(){if(t){if(u)throw new Error(Tt(6));t=!1,s(),o.delete(n),l=null}}}function d(e){if(!Dt(e))throw new Error(Tt(7));if("undefined"===typeof e.type)throw new Error(Tt(8));if("string"!==typeof e.type)throw new Error(Tt(17));if(u)throw new Error(Tt(9));try{u=!0,a=r(a,e)}finally{u=!1}return(l=o).forEach((e=>{e()})),e}d({type:Rt.INIT});return{dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(Tt(10));r=e,d({type:Rt.REPLACE})},[zt]:function(){const e=f;return{subscribe(t){if("object"!==typeof t||null===t)throw new Error(Tt(11));function n(){const e=t;e.next&&e.next(c())}n();return{unsubscribe:e(n)}},[zt](){return this}}}}}const It={messages:[]},Ut=Ft((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:It,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_MESSAGE":return{...e,messages:[...e.messages,t.payload]};case"RECEIVE_MESSAGES":return{...e,messages:t.payload};case"GET_MESSAGES":return{...e};default:return e}}));a.createRoot(document.getElementById("root")).render((0,je.jsx)(Ge,{store:Ut,children:(0,je.jsx)(Mt,{})}))})()})();
//# sourceMappingURL=main.91d165cd.js.map